Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.Interned.Internal
Documentation
class (Eq (Description t), Hashable (Description t)) => Interned t where Source #
Methods
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 #
class Interned t => Uninternable t where Source #
Minimal complete definition
Methods
unintern :: t -> Uninterned t Source #
data CacheState t Source #
Constructors
CacheState | |
Fields
|
intern :: Interned t => Uninterned t -> t Source #