mmzk-typeid
Version 0.3.0.1 revision 0 uploaded by MMZK1526.
Package meta
- Synopsis
- A TypeID implementation for Haskell
- Description
TypeID is a type-safe, K-sortable, globally unique identifier inspired by Stripe IDs.
The specification is available at https://github.com/jetpack-io/typeid.
This library supports generating and parsing speç-conforming TypeIDs, with the following additional features:
Batch generating TypeIDs with the same UUIDv7 timestamp
Encode prefixes at type-level for better type-safety
It also serves as a (temporary) UUIDv7 implementation in Haskell, since there are no official ones yet.
Please enable the following extensions if working with KindID:
{-# LANGUAGE DataKinds #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeFamilies #-}
While the following is not required, it is quite convenient to have
{-# LANGUAGE OverloadedStrings #-}
For a quick "how-to-use" guide, please refer to the README.md file at https://github.com/MMZK1526/mmzk-typeid#readme.
- Author
- Yitang Chen <mmzk1526@ic.ac.uk>
- Bug reports
- https://github.com/MMZK1526/mmzk-typeid/issues
- Category
- Data, UUID, TypeID
- Copyright
- n/a
- Homepage
- https://github.com/MMZK1526/mmzk-typeid
- Maintainer
- Yitang Chen <mmzk1526@ic.ac.uk>
- Package URL
- n/a
- Stability
- n/a