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

Safe Haskell | None
Language | Haskell98

Data.Interned.String

# Documentation

data InternedString Source #

Instances

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

Associated Types

data Description InternedString :: * Source #

type Uninterned InternedString :: * Source #

Methods

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 #

Eq (Description InternedString) Source # |
Methods (==) :: Description InternedString -> Description InternedString -> Bool # (/=) :: Description InternedString -> Description InternedString -> Bool #
Hashable (Description InternedString) Source # |
Methods hashWithSalt :: Int -> Description InternedString -> Int # hash :: Description InternedString -> Int #
data Description InternedString Source # |

data Description InternedString

- = Cons !Char String
- | Nil

type Uninterned InternedString Source # |
type Uninterned InternedString = String