Copyright | Jeremy Groven |
---|---|
License | BSD3 |
Safe Haskell | None |
Language | Haskell2010 |
Data.ObjectID
Description
Opaque type to uniquely identify things. Objects to be identified must
implement the uniqueByteString
of IsObject
, ideally in some way that
different objects have different bytestrings, while two instances of the
same object will have the same bytestring.
- data ObjectID
- calculateSerialize :: Serialize a => a -> ObjectID
- calculateBuilder :: Builder -> ObjectID
- calculateByteString :: ByteString -> ObjectID
Documentation
Opaque type used to uniquely identify objects