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

Safe HaskellNone
LanguageHaskell98

Data.Interned.Internal

Documentation

newtype Cache t Source

Constructors

Cache 

Fields

getCache :: Array Int (IORef (CacheState t))
 

data CacheState t Source

Constructors

CacheState 

Fields

fresh :: !Id
 
content :: !(HashMap (Description t) t)
 

type Id = Int Source