Copyright | (c) The University of Glasgow 2001 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
An abstract interface to a unique symbol generator.
Unique objects
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