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