Idris2Doc : Data.Hashable

Data.Hashable

(source)

Definitions

defaultSalt : Bits64
  A default salt used in the implementation of 'hash'.

Visibility: export
interfaceHashable : Type->Type
  Interface for type that can be hashed.
Minimal implementation: 'hashWithSalt'

Parameters: a
Methods:
hashWithSalt : Bits64->a->Bits64
  Hash a value with the given salt

Fixity Declaration: infixl operator, level 10
hash : a->Bits64
  Hash a value with the default salt

Fixity Declaration: infixl operator, level 10

Implementations:
HashableBits8
HashableBits16
HashableBits32
HashableBits64
HashableInt
HashableInt8
HashableInt16
HashableInt32
HashableInt64
HashableChar
HashableInteger
HashableNat
HashableString
HashableBool
(Hashablea, Hashableb) =>Hashable (a, b)
Hashablea=>Hashable (Maybea)
Hashablea=>Hashable (Lista)
Hashablea=>Hashable (SnocLista)
Hashablea=>Hashable (Vectlena)
hashWithSalt : Hashablea=>Bits64->a->Bits64
  Hash a value with the given salt

Visibility: public export
Fixity Declaration: infixl operator, level 10
hash : Hashablea=>a->Bits64
  Hash a value with the default salt

Visibility: public export
Fixity Declaration: infixl operator, level 10
combine : Bits64->Bits64->Bits64
  Combine 2 hashes.

Visibility: export
defaultHashWithSalt : (a->Bits64) ->Bits64->a->Bits64
  Default implementation of 'hashWithSalt' for types which are smaller than Bits64 (eg Bits32, Int).

Visibility: export