mmzk-typeid-0.4.0.1: A TypeID implementation for Haskell
LicenseMIT
Maintainermmzk1526@outlook.com
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.UUID.Versions

Description

Supported UUID versions for TypeID'.

Synopsis

Supported UUID versions

data UUIDVersion Source #

The supported UUID versions. These constructors are used as type-level tags for TypeID'.

V5 are not supported yet.

Constructors

V1 
V4 
V5 
V7 

Validation

validateWithVersion :: UUID -> UUIDVersion -> Bool Source #

Validate the given UUID with the given UUIDVersion.

The variant is supposed to be 0x2.