stringtable-atom-0.0.2: Memoize Strings as Atoms for fast comparison and sorting, with maps and sets
Source code
Contents
Index
StringTable.Atom
Documentation
data
Atom
Source
Instances
Eq
Atom
Ord
Atom
Read
Atom
Show
Atom
Typeable
Atom
Monoid
Atom
Binary
Atom
HasHash
Atom
ToAtom
Atom
FromAtom
Atom
class
ToAtom
a
where
Source
Methods
toAtom
:: a ->
Atom
Source
toAtomIO
:: a ->
IO
Atom
Source
Instances
ToAtom
Char
ToAtom
String
ToAtom
CString
ToAtom
CStringLen
ToAtom
ByteString
ToAtom
Atom
class
FromAtom
a
where
Source
Methods
fromAtom
::
Atom
-> a
Source
fromAtomIO
::
Atom
->
IO
a
Source
Instances
FromAtom
Int
FromAtom
Word
FromAtom
String
FromAtom
CStringLen
FromAtom
ByteString
FromAtom
Atom
FromAtom
(
String
->
String
)
class
HasHash
a
where
Source
Methods
hash32
:: a ->
Word32
Source
Instances
HasHash
String
HasHash
ByteString
HasHash
Atom
intToAtom
::
Monad
m =>
Int
-> m
Atom
Source
isValidAtom
::
Int
->
Bool
Source
unsafeIntToAtom
::
Int
->
Atom
Source
unsafeByteIndex
::
Atom
->
Int
->
Word8
Source
dumpTable
::
IO
()
Source
dumpToFile
::
IO
()
Source
dumpStringTableStats
::
IO
()
Source
Produced by
Haddock
version 2.3.0