Evelios / elm-hash / Hash

Types


type Hash

Builders

fromInt : Basics.Int -> Hash

fromFloat : Basics.Float -> Hash

fromString : String -> Hash

Accessors

toString : Hash -> String

This is the only reliable way of accessing the hash id. This is the comparable type to use for any other elm library.

Combiners

independent : Hash -> Hash -> Hash

Combine two hash pairs such that the order does NOT matter.

dependent : Hash -> Hash -> Hash

Combine two hash pairs in a unique way. The order of the parameters matters.