base-4.3.1.0: Basic libraries
Data.Unique
Contents
Description
An abstract interface to a unique symbol generator.
Synopsis
data Unique Source
An abstract unique object. Objects of type Unique may be compared for equality and ordering and hashed into Int .
Unique
Int
Instances
newUnique :: IO Unique Source
Creates a new object of type Unique . The value returned will not compare equal to any other value of type Unique returned by previous calls to newUnique . There is no limit on the number of times newUnique may be called.
newUnique
hashUnique :: Unique -> Int Source
Hashes a Unique into an Int . Two Unique s may hash to the same value, although in practice this is unlikely. The Int returned makes a good hash key.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル