stash-0.1: To be written
Database.Stash
type Stashable a = (ToJSON a, FromJSON a, Typeable a, Show a) Source
type Meta = Value Source
put :: Stashable a => Meta -> a -> IO () Source
get :: Stashable a => Meta -> IO (Maybe a) Source
find :: Stashable a => (Meta -> Bool) -> IO [a] Source
find' :: Stashable a => (Meta -> Bool) -> IO [(Meta, String, a)] Source
getType :: Meta -> IO (Maybe String) Source
findType :: (Meta -> Bool) -> IO [String] Source
findType' :: (Meta -> Bool) -> IO [(Meta, String)] Source