uuid-1.3.13: For creating, comparing, parsing and printing Universally Unique Identifiers

Safe Haskell | None
Language | Haskell2010

Data.UUID.Util

# Documentation

data UnpackedUUID :: * #

Constructors

UnpackedUUID |
Fields time_low :: Word32 time_mid :: Word16 time_hi_and_version :: Word16 clock_seq_hi_res :: Word8 clock_seq_low :: Word8 node_0 :: Word8 node_1 :: Word8 node_2 :: Word8 node_3 :: Word8 node_4 :: Word8 node_5 :: Word8

Instances

Eq UnpackedUUID |
Methods (==) :: UnpackedUUID -> UnpackedUUID -> Bool # (/=) :: UnpackedUUID -> UnpackedUUID -> Bool #
Ord UnpackedUUID |
Methods compare :: UnpackedUUID -> UnpackedUUID -> Ordering # (<) :: UnpackedUUID -> UnpackedUUID -> Bool # (<=) :: UnpackedUUID -> UnpackedUUID -> Bool # (>) :: UnpackedUUID -> UnpackedUUID -> Bool # (>=) :: UnpackedUUID -> UnpackedUUID -> Bool # max :: UnpackedUUID -> UnpackedUUID -> UnpackedUUID # min :: UnpackedUUID -> UnpackedUUID -> UnpackedUUID #
Read UnpackedUUID |
Methods readsPrec :: Int -> ReadS UnpackedUUID # readList :: ReadS [UnpackedUUID] # readPrec :: ReadPrec UnpackedUUID # readListPrec :: ReadPrec [UnpackedUUID] #
Show UnpackedUUID |
Methods showsPrec :: Int -> UnpackedUUID -> ShowS # show :: UnpackedUUID -> String # showList :: [UnpackedUUID] -> ShowS #

unpack :: UUID -> UnpackedUUID #

pack :: UnpackedUUID -> UUID #

version :: UUID -> Int #

extractMac :: UUID -> Maybe MAC #

extractTime :: UUID -> Maybe Int64 #

setTime :: (Integral a, Bits a) => UUID -> a -> Maybe UUID #