| Copyright | (c) Tristan Wibberley Eric Mertens 2017 |
|---|---|
| License | GPL-2 |
| Maintainer | tristan.wibberley@gmail.com |
| Stability | experimental |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.Map.IMap
Description
- data IMap m v
- fromList :: IsMap m => [(Key m, v)] -> m v
- intersectionWith :: IsMap m => (a -> b -> c) -> m a -> m b -> m c
Documentation
An applicative map that discards mismatched keys (ie, uses intersection) -
intersectionWith :: IsMap m => (a -> b -> c) -> m a -> m b -> m c Source #