packages feed

snowchecked 0.0.1.1 → 0.0.1.2

raw patch · 3 files changed

+4/−4 lines, 3 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Data.Snowchecked.Types: instance GHC.Classes.Ord Data.Snowchecked.Types.Flake
+ Data.Snowchecked.Types: instance GHC.Classes.Ord Data.Snowchecked.Types.SnowcheckedConfig

Files

package.yaml view
@@ -1,5 +1,5 @@ name: snowchecked-version: 0.0.1.1+version: 0.0.1.2 github: robertfischer/hs-snowflake-checked license: Apache-2.0 author: Robert Fischer
snowchecked.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           snowchecked-version:        0.0.1.1+version:        0.0.1.2 synopsis:       A checksummed variation on Twitter's Snowflake UID generation algorithm description:    See the file ./README.md, which is included in the package and also on GitHub. category:       Data
src/Data/Snowchecked/Types.hs view
@@ -36,7 +36,7 @@ 	, confCountBits        :: Word8  -- ^ Number of bits used to count instances per-time 	, confNodeBits         :: Word8  -- ^ Number of bits derived from the node id 	, confCheckBits        :: Word8  -- ^ Number of bits used to store the checksum-	} deriving (Eq, Show, Generic)+	} deriving (Eq, Show, Generic, Ord)  instance NFData SnowcheckedConfig @@ -65,6 +65,6 @@ 	, flakeCount         :: Word256 -- ^ The bit-truncated count 	, flakeNodeId        :: Word256 -- ^ The bit-truncated node id 	, flakeConfig        :: SnowcheckedConfig -- ^ The configuration used to create the flake.- } deriving (Eq,Show,Generic)+ } deriving (Eq,Show,Ord,Generic)  instance NFData Flake