ulid-0.1.0.0: Implementation of ULID, lexicographically sortable unique identifiers
Data.ULID
Synopsis
data ULID Source #
Constructors
Fields
Instances
Methods
(==) :: ULID -> ULID -> Bool #
(/=) :: ULID -> ULID -> Bool #
compare :: ULID -> ULID -> Ordering #
(<) :: ULID -> ULID -> Bool #
(<=) :: ULID -> ULID -> Bool #
(>) :: ULID -> ULID -> Bool #
(>=) :: ULID -> ULID -> Bool #
max :: ULID -> ULID -> ULID #
min :: ULID -> ULID -> ULID #
readsPrec :: Int -> ReadS ULID #
readList :: ReadS [ULID] #
readPrec :: ReadPrec ULID #
readListPrec :: ReadPrec [ULID] #
showsPrec :: Int -> ULID -> ShowS #
show :: ULID -> String #
showList :: [ULID] -> ShowS #
getULIDTime Source #
Arguments
The specified UNIX time (seconds) to millisecond precision, e.g. 1469918176.385
Derive a ULID using a specified time and default random number generator
getULID :: IO ULID Source #
Derive a ULID using the current time and default random number generator