| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.Interned.Internal
Documentation
class (Eq (Description t), Hashable (Description t)) => Interned t where #
Methods
describe :: Uninterned t -> Description t #
identify :: Id -> Uninterned t -> t #
seedIdentity :: p t -> Id #
cacheWidth :: p t -> Int #
modifyAdvice :: IO t -> IO t #
class Interned t => Uninternable t where #
Minimal complete definition
Methods
unintern :: t -> Uninterned t #
data CacheState t #
Constructors
| CacheState | |
Fields
| |
intern :: Interned t => Uninterned t -> t #