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