| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Heptapod
Description
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
generate :: MonadIO m => m UUID Source #
Generates a UUIDv7 using the current time (from getSystemTime) and
random data (from getEntropy).
Arguments
| :: 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.