intern-0.9.2: Efficient hash-consing for arbitrary data types
Data.Interned.String
data InternedString #
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 #
Associated Types
data Description InternedString :: * #
type Uninterned InternedString :: * #
describe :: Uninterned InternedString -> Description InternedString #
identify :: Id -> Uninterned InternedString -> InternedString #
seedIdentity :: p InternedString -> Id #
cacheWidth :: p InternedString -> Int #
modifyAdvice :: IO InternedString -> IO InternedString #
cache :: Cache InternedString #
(==) :: Description InternedString -> Description InternedString -> Bool #
(/=) :: Description InternedString -> Description InternedString -> Bool #
hashWithSalt :: Int -> Description InternedString -> Int #
hash :: Description InternedString -> Int #