Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Documentation
class Maplike c k where Source #
A class for types with an API similar to that of Data.Map.
union :: c k v -> c k v -> c k v Source #
intersection :: c k v -> c k v -> c k v Source #
difference :: c k v -> c k v -> c k v Source #
lookup :: k -> c k v -> Maybe v Source #
singleton :: k -> v -> c k v Source #
insert :: k -> v -> c k v -> c k v Source #
delete :: k -> c k v -> c k v Source #
toList :: c k v -> [(k, v)] Source #
foldrWithKey :: (k -> v -> a -> a) -> a -> c k v -> a Source #
Lazy (c k v) |