Copyright | (c) Edward Kmett 2013 |
---|---|
License | BSD3 |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell98 |
Data.Hashable.Extras
Description
Documentation
class Hashable1 t where Source #
Methods
hashWithSalt1 :: Hashable a => Int -> t a -> Int Source #
hashWithSalt1 :: Hashable (t a) => Int -> t a -> Int Source #
Instances
Hashable1 [] Source # | |
Hashable1 Maybe Source # | |
Hashable1 Identity Source # | |
Hashable a => Hashable1 (Either a) Source # | |
Hashable a => Hashable1 ((,) a) Source # | |
(Hashable a, Hashable b) => Hashable1 ((,,) a b) Source # | |
(Hashable a, Hashable b, Hashable c) => Hashable1 ((,,,) a b c) Source # | |
(Hashable a, Hashable b, Hashable c, Hashable d) => Hashable1 ((,,,,) a b c d) Source # | |
(Hashable a, Hashable b, Hashable c, Hashable d, Hashable e) => Hashable1 ((,,,,,) a b c d e) Source # | |
(Hashable a, Hashable b, Hashable c, Hashable d, Hashable e, Hashable f) => Hashable1 ((,,,,,,) a b c d e f) Source # | |
class Hashable2 t where Source #
Methods
hashWithSalt2 :: (Hashable a, Hashable b) => Int -> t a b -> Int Source #
hashWithSalt2 :: Hashable (t a b) => Int -> t a b -> Int Source #
Instances
Hashable2 Either Source # | |
Hashable2 (,) Source # | |
Hashable a => Hashable2 ((,,) a) Source # | |
(Hashable a, Hashable b) => Hashable2 ((,,,) a b) Source # | |
(Hashable a, Hashable b, Hashable c) => Hashable2 ((,,,,) a b c) Source # | |
(Hashable a, Hashable b, Hashable c, Hashable d) => Hashable2 ((,,,,,) a b c d) Source # | |
(Hashable a, Hashable b, Hashable c, Hashable d, Hashable e) => Hashable2 ((,,,,,,) a b c d e) Source # | |