Safe Haskell | None |
---|---|
Language | Haskell2010 |
Hash tables.
Documentation
insert :: (Eq k, Hashable k) => HashTable k v -> k -> v -> IO () Source #
Inserts the key and the corresponding value into the hash table.
lookup :: (Eq k, Hashable k) => HashTable k v -> k -> IO (Maybe v) Source #
Tries to find a value corresponding to the key in the hash table.