8.18
ulid: universally unique lexicographically sortable identifiers
This package provides an implementation of ULIDs, which are a lexicographically-sortable alternative to UUIDs.
Represents a ULID string.
value
Represents the binary representation of a ULID.
procedure
(make-ulid-factory) → (-> (and/c ulid/c immutable?))
Returns a function that can be used to generate ULIDs.  Any ULIDs
generated within the same millisecond by the resulting function will
increase monotonically.
The generator functions are thread-safe.
procedure
(ulid) → (-> (and/c ulid/c immutable?))
Generates an ULID.
procedure
s : ulid/c 
Returns the time component of the ULID s.
procedure
s : ulid/c 
Returns the random component of the ULID s.
procedure
(ulid->bytes u) → ulid-bytes/c
u : ulid/c 
Returns the binary representation of the ULID u.
procedure
(bytes->ulid bs) → ulid/c
bs : ulid-bytes/c 
Converts bs to a ULID.  Raises an error if the result is
not a valid ULID.