intern-0.9.3: Efficient hash-consing for arbitrary data types

Safe HaskellNone
LanguageHaskell2010

Data.Interned

Documentation

class (Eq (Description t), Hashable (Description t)) => Interned t where Source #

Minimal complete definition

describe, identify, cache

Associated Types

data Description t Source #

type Uninterned t Source #

Instances
Interned IntSet Source # 
Instance details

Defined in Data.Interned.IntSet

Associated Types

data Description IntSet :: Type Source #

type Uninterned IntSet :: Type Source #

Interned InternedByteString Source # 
Instance details

Defined in Data.Interned.Internal.ByteString

Interned InternedString Source # 
Instance details

Defined in Data.Interned.Internal.String

Interned InternedText Source # 
Instance details

Defined in Data.Interned.Internal.Text

data Cache t Source #

type Id = Int Source #