Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides functions for building and generating version 7 UUIDs as defined by section 5.7 of RFC 9562.
https://datatracker.ietf.org/doc/html/rfc9562#name-uuid-version-7
Documentation
Generates a UUIDv7 using the current time (from getSystemTime
) and
random data (from getEntropy
).
:: SystemTime | Corresponds to the |
-> Word64 | Corresponds to the |
-> Word64 | Corresponds to the |
-> UUID |
Builds a UUIDv7 using the provided fields. Typically you will want to use
the generate
function instead.