intern-0.9.1.4: Efficient hash-consing for arbitrary data types

Safe Haskell | None
Language | Haskell98

Data.Interned.Text

# Documentation

data InternedText Source #

Instances

Eq InternedText Source # |
Methods (==) :: InternedText -> InternedText -> Bool # (/=) :: InternedText -> InternedText -> Bool #
Ord InternedText Source # |
Methods compare :: InternedText -> InternedText -> Ordering # (<) :: InternedText -> InternedText -> Bool # (<=) :: InternedText -> InternedText -> Bool # (>) :: InternedText -> InternedText -> Bool # (>=) :: InternedText -> InternedText -> Bool # max :: InternedText -> InternedText -> InternedText # min :: InternedText -> InternedText -> InternedText #
Show InternedText Source # |
Methods showsPrec :: Int -> InternedText -> ShowS # show :: InternedText -> String # showList :: [InternedText] -> ShowS #
IsString InternedText Source # |
Methods fromString :: String -> InternedText #
Uninternable InternedText Source # |
Methods unintern :: InternedText -> Uninterned InternedText Source #
Interned InternedText Source # |

Associated Types

data Description InternedText :: * Source #

type Uninterned InternedText :: * Source #

Methods

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 #

Eq (Description InternedText) Source # |
Methods (==) :: Description InternedText -> Description InternedText -> Bool # (/=) :: Description InternedText -> Description InternedText -> Bool #
Hashable (Description InternedText) Source # |
Methods hashWithSalt :: Int -> Description InternedText -> Int # hash :: Description InternedText -> Int #
data Description InternedText Source # |
data Description InternedText = DT Text
type Uninterned InternedText Source # |
type Uninterned InternedText = Text