Type definitions for Universally Unique Identifiers


Version on this page:1.0.5@rev:2
LTS Haskell 22.12:
Stackage Nightly 2024-02-29:
Latest on Hackage:

See all snapshots uuid-types appears in

BSD-3-Clause licensed by Antoine Latter
Maintained by Oleg Grenrus
This version can be pinned in stack with:uuid-types-1.0.5@sha256:8447b8a08723877400da13b6329b3fb19ea9e4c20fabe62888841eb3708d7474,2608

Module documentation for 1.0.5

  • Data
    • Data.UUID

This library contains type definitions for Universally Unique Identifiers (UUID) (as specified in RFC 4122) and basic conversion functions.

See also the 'uuid' package providing a high-level API for managing the different UUID versions.


1.0.5 (2021-05-03)

  • Add (Template Haskell) Lift UUID instance

  • Declare Data.UUID.Types module “Trustworthy” with respect to SafeHaskell.
  • Use more compact heap object representation which saves 16 bytes on 64bit platforms.
  • Add toWords64/fromWords64 functions
  • Drop support for GHC < 7.
  • Add support for random-1.2, i.e. idiomatic Random and added Uniform instances.


  • Bump package dependencies.


  • Add toText/fromText functions.


  • Update dependencies in tests and benchmarks.


  • Initial split from “uuid-1.3.8” package.