Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- ghashWithSalt :: (Representable a, GHashable (Rep a)) => Int -> a -> Int
- class GHashable a
Documentation
You can use ghashWithSalt
as your generic hashWithSalt
for any
Representable
type as follows:
instanceHashable
MyType where hashWithSalt =ghashWithSalt
ghashWithSalt :: (Representable a, GHashable (Rep a)) => Int -> a -> Int Source
Internals
ghashWithSalt'