cqrs-0.8.0: Command-Query Responsibility Segregation

Data.CQRS.GUID

Description

Globally Unique IDentifiers.

Synopsis

Documentation

data GUID Source

A Globally Unique IDentifier.

Instances

Eq GUID 
Ord GUID 
Show GUID 
Typeable GUID 
Default GUID

Default GUID value.

SafeCopy GUID

Serialize instance.

fromByteString :: ByteString -> GUIDSource

Convert from ByteString.

hexDecode :: ByteString -> Maybe GUIDSource

Decode a GUID from hex representation.

hexEncode :: GUID -> ByteStringSource

Hex encode a GUID.

newGUID :: IO GUIDSource

Create a new random GUID.

toByteString :: GUID -> ByteStringSource

Convert to ByteString.