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

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 = IntSource