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