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

Safe HaskellNone
LanguageHaskell98

Data.Interned.Internal

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 # 
Interned InternedByteString Source # 
Interned InternedString Source # 
Interned InternedText Source # 

newtype Cache t Source #

Constructors

Cache 

Fields

data CacheState t Source #

Constructors

CacheState 

Fields

type Id = Int Source #