Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module is not used by the main library for constructing perfect hashes; it just provides convenience functions for use by the tests and demonstration executables.
- testLookups :: (Show b, Eq b, Show a, ToHashableChunks a, Unbox b) => LookupTable b -> [(a, b)] -> Either String ()
- wordsFromFile :: FilePath -> IO [(String, Int)]
- eitherExit :: Either String b -> IO ()
Documentation
testLookups :: (Show b, Eq b, Show a, ToHashableChunks a, Unbox b) => LookupTable b -> [(a, b)] -> Either String () Source #