tokyocabinet-haskell-0.0.5: Haskell binding of Tokyo Cabinet

Safe Haskell | None

Database.TokyoCabinet.Map

# Documentation

new :: IO (Map k v)Source

new2 :: Word32 -> IO (Map k v)Source

dup :: Map k v -> IO (Map k v)Source

delete :: Map k v -> IO ()Source

put :: (Storable k, Storable v) => Map k v -> k -> v -> IO ()Source

putkeep :: (Storable k, Storable v) => Map k v -> k -> v -> IO Bool Source

putcat :: (Storable k, Storable v) => Map k v -> k -> v -> IO ()Source

out :: Storable k => Map k v -> k -> IO Bool Source

get :: (Storable k, Storable v) => Map k v -> k -> IO (Maybe v)Source

move :: Storable k => Map k v -> k -> Bool -> IO Bool Source

iterinit :: Map k v -> IO ()Source

iternext :: Storable k => Map k v -> IO (Maybe k)Source

rnum :: Map k v -> IO Word64 Source

msiz :: Map k v -> IO Word64 Source

keys :: Storable k => Map k v -> IO [k]Source

vals :: Storable v => Map k v -> IO [v]Source

addint :: Storable k => Map k v -> k -> Int -> IO (Maybe Int)Source

adddouble :: Storable k => Map k v -> k -> Double -> IO (Maybe Double)Source

clear :: Map k v -> IO ()Source

cutfront :: Map k v -> Int -> IO ()Source

dump :: Map k v -> IO ByteString Source

load :: ByteString -> IO (Map k v)Source

data Map k v Source

Instances

Associative Map |