snowchecked-0.0.1.0: A checksummed variation on Twitter's Snowflake UID generation algorithm
Safe HaskellNone
LanguageHaskell2010

Data.Snowchecked.Encoding.Integral

Description

This module provides a generalized conversion function between a Flake and all members of the typeclass Integral. It is specialized for the Integer, Word32, and Word64 types. It is marked as incoherent due to the constraint being no smaller than the instance type, so it is undecidable.

Documentation

Orphan instances

Integral a => IsFlake a Source # 
Instance details