stringtable-atom-0.0.6.1: Memoize Strings as Atoms for fast comparison and sorting, with maps and setsContentsIndex
StringTable.Atom
Documentation
data Atom
show/hide Instances
class ToAtom a where
Methods
toAtom :: a -> Atom
toAtomIO :: a -> IO Atom
show/hide Instances
class FromAtom a where
Methods
fromAtom :: Atom -> a
fromAtomIO :: Atom -> IO a
show/hide Instances
class HasHash a where
Methods
hash32 :: a -> Word32
show/hide Instances
intToAtom :: Monad m => Int -> m Atom
isValidAtom :: Int -> Bool
unsafeIntToAtom :: Int -> Atom
atomCompare :: Atom -> Atom -> Ordering
unsafeByteIndex :: Atom -> Int -> Word8
dumpTable :: IO ()
dumpToFile :: IO ()
dumpStringTableStats :: IO ()
Produced by Haddock version 2.7.2