Copyright | (c) The University of Glasgow 2001 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | stable |
Portability | non-portable |
Safe Haskell | Safe |
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
Instances
Eq Unique | |
Ord Unique | |
Defined in GHC.Internal.Data.Unique |