Globally Unique IDentifiers.
- data GUID a
- fromByteString :: ByteString -> GUID a
- newGUID :: IO (GUID a)
- nil :: GUID a
- toByteString :: GUID a -> ByteString
Documentation
A GUID for values of type a
.
fromByteString :: ByteString -> GUID aSource
Convert ByteString to GUID.
The nil GUID. This is used for the root aggregate root which all other aggregate roots can be reached from.
toByteString :: GUID a -> ByteStringSource
Convert GUID to ByteString.