Portability | portable |
---|---|

Stability | provisional |

Maintainer | otakar-smrz users.sf.net |

Safe Haskell | Safe-Inferred |

Chapter 1 and Appendix A of /Pure Functional Parsing – an advanced tutorial/ by Peter Ljunglöf

# Documentation

emptyMap :: Ord s => m s aSource

(|->) :: Ord s => s -> a -> m s aSource

isEmptyMap :: Ord s => m s a -> BoolSource

(?) :: Ord s => m s a -> s -> Maybe aSource

lookupWith :: Ord s => a -> m s a -> s -> aSource

mergeWith :: Ord s => (a -> a -> a) -> m s a -> m s a -> m s aSource

unionMapWith :: Ord s => (a -> a -> a) -> [m s a] -> m s aSource

assocs :: Ord s => m s a -> [(s, a)]Source

makeMapWith :: (Ord s, OrdMap m) => (a -> a -> a) -> [(s, a)] -> m s aSource

mapMapWithKey :: (s -> t -> a) -> Map s t -> Map s aSource