Data.Interned.Internal
Documentation
class (Eq (Description t), Hashable (Description t)) => Interned t whereSource
Instances
class Interned t => Uninternable t whereSource
Methods
unintern :: t -> Uninterned tSource
data CacheState t Source
Constructors
CacheState !(Id t) !(HashMap (Description t) (Weak t)) |
intern :: Interned t => Uninterned t -> tSource