aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/hash.lux
blob: da24575a4a9354bfaeccb0c7fe198429a97556c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(;module:
  lux
  (.. eq))

## [Signatures]
(sig: #export (Hash a)
  {#;doc "A way to produce hash-codes for a type's instances.

          A necessity when working with some data-structures, such as dictionaries or sets."}
  (: (Eq a)
     eq)
  (: (-> a Nat)
     hash))