Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Eq (Description t), Hashable (Description t)) => Interned t where Source #
data Description t Source #
type Uninterned t Source #
describe :: Uninterned t -> Description t Source #
identify :: Id -> Uninterned t -> t Source #
seedIdentity :: p t -> Id Source #
cacheWidth :: p t -> Int Source #
modifyAdvice :: IO t -> IO t Source #
Instances
class Interned t => Uninternable t where Source #
unintern :: t -> Uninterned t Source #
Instances
Uninternable IntSet Source # | |
Defined in Data.Interned.IntSet | |
Uninternable InternedByteString Source # | |
Uninternable InternedString Source # | |
Defined in Data.Interned.Internal.String | |
Uninternable InternedText Source # | |
Defined in Data.Interned.Internal.Text |
data CacheState t Source #
CacheState | |
|
intern :: Interned t => Uninterned t -> t Source #