Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data MapWithDefault k v = MapWithDefault {
- common :: v
- exceptions :: Map k v
- fromList :: (Ord k, Eq v) => v -> [(k, v)] -> MapWithDefault k v
- fromListWithKey :: (Ord k, Eq v) => v -> (k -> u -> v -> v) -> [(k, u)] -> MapWithDefault k v
Documentation
data MapWithDefault k v Source #
Mappings constant except on an enumerated set of values
MapWithDefault | |
|
Instances
fromListWithKey :: (Ord k, Eq v) => v -> (k -> u -> v -> v) -> [(k, u)] -> MapWithDefault k v Source #