License | MIT |
---|---|
Maintainer | mmzk1526@outlook.com |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data UUIDVersion
- validateWithVersion :: UUID -> UUIDVersion -> Bool
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.
Instances
Validation
validateWithVersion :: UUID -> UUIDVersion -> Bool Source #
Validate the given UUID
with the given UUIDVersion
.
The variant is supposed to be 0x2.