Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
A store for storing and retreiving items
- data Store
- data Result a
- toMaybe :: Result a -> Maybe a
- new :: Bool -> FilePath -> IO Store
- set :: (Binary a, Typeable a) => Store -> [String] -> a -> IO ()
- get :: (Binary a, Typeable a) => Store -> [String] -> IO (Result a)
- isMember :: Store -> [String] -> IO Bool
- delete :: Store -> [String] -> IO ()
- hash :: [String] -> String
Documentation
Result of a store query
Initialize the store