objectid-0.1.0.2: Rather unique identifier for things that need to be stored

CopyrightJeremy Groven
LicenseBSD3
Safe HaskellNone
LanguageHaskell2010

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.

Synopsis

Documentation

data ObjectID Source

Opaque type used to uniquely identify objects

calculateSerialize :: Serialize a => a -> ObjectID Source

Get the ObjectID from a Serialize instance