Skip to content

Commit

Permalink
add ord insance to splitmix generator datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
cartazio committed Mar 1, 2018
1 parent c6c3ed7 commit 22a2a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/Random/SplitMix/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ type SplitMix64 = (# Word64# , Word64# #)

data SplitMix64 = SplitMix64 { sm64seed :: {-# UNPACK #-} !Word64
,sm64Gamma :: {-# UNPACK #-} !Word64 }
deriving (Eq,Read,Show,Data,Typeable)
deriving (Eq,Ord,Read,Show,Data,Typeable)


advanceSplitMix :: SplitMix64 -> SplitMix64
Expand Down

0 comments on commit 22a2a16

Please sign in to comment.