| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Generics.Instant.Functions.Hashable
Contents
- 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:
instanceHashableMyType where hashWithSalt =ghashWithSalt
ghashWithSalt :: (Representable a, GHashable (Rep a)) => Int -> a -> Int Source
Internals
Minimal complete definition
ghashWithSalt'