The latest version of mmzk-typeid is 0.7.0.1-0.

mmzk-typeid

Version 0.6.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 #-}
Author
Yitang Chen <mmzk1526@outlook.com>
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@outlook.com>
Package URL
n/a
Stability
n/a

Components