intern-0.9.2: Efficient hash-consing for arbitrary data types
Data.Interned.String
data InternedString Source #
Instances
Methods
(==) :: InternedString -> InternedString -> Bool #
(/=) :: InternedString -> InternedString -> Bool #
compare :: InternedString -> InternedString -> Ordering #
(<) :: InternedString -> InternedString -> Bool #
(<=) :: InternedString -> InternedString -> Bool #
(>) :: InternedString -> InternedString -> Bool #
(>=) :: InternedString -> InternedString -> Bool #
max :: InternedString -> InternedString -> InternedString #
min :: InternedString -> InternedString -> InternedString #
showsPrec :: Int -> InternedString -> ShowS #
show :: InternedString -> String #
showList :: [InternedString] -> ShowS #
fromString :: String -> InternedString #
unintern :: InternedString -> Uninterned InternedString Source #
Associated Types
data Description InternedString :: * Source #
type Uninterned InternedString :: * Source #
describe :: Uninterned InternedString -> Description InternedString Source #
identify :: Id -> Uninterned InternedString -> InternedString Source #
seedIdentity :: p InternedString -> Id Source #
cacheWidth :: p InternedString -> Int Source #
modifyAdvice :: IO InternedString -> IO InternedString Source #
cache :: Cache InternedString Source #
(==) :: Description InternedString -> Description InternedString -> Bool #
(/=) :: Description InternedString -> Description InternedString -> Bool #
hashWithSalt :: Int -> Description InternedString -> Int #
hash :: Description InternedString -> Int #