Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
An abstract unique object. Objects of type Unique
may be
compared for equality and ordering and hashed into Int
.
>>>
:{
do x <- newUnique print (x == x) y <- newUnique print (x == y) :} True False
Instances
Eq Unique | |
Ord Unique | |
Hashable Unique | |
Defined in Data.Hashable.Class | |
NFData Unique | Since: deepseq-1.4.0.0 |
Defined in Control.DeepSeq |