Safe Haskell | None |
---|
Documentation
type Key = ByteStringSource
type Value = ByteStringSource
sizeLinear :: Size -> Word64Source
data HashFunction Source
mkHashFunc :: String -> (Key -> Word64) -> HashFunctionSource
createDatabase :: FilePath -> HashFunction -> Size -> IO DatabaseSource
openDatabase :: FilePath -> HashFunction -> Size -> IO DatabaseSource
closeDatabase :: Database -> IO ()Source
withCreateDatabase :: FilePath -> HashFunction -> Size -> (Database -> IO a) -> IO aSource
withOpenDatabase :: FilePath -> HashFunction -> Size -> (Database -> IO a) -> IO aSource