Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
isSubmapOf :: (Ord k, Eq a) => MonoidalMap k a -> MonoidalMap k a -> Boolmonoidal-containers Data.Map.Monoidal.Strict No documentation available.
isSubmapOfBy :: Ord k => (a -> b -> Bool) -> MonoidalMap k a -> MonoidalMap k b -> Boolmonoidal-containers Data.Map.Monoidal.Strict No documentation available.
-
A multimap. This is a simple implementation of a multimap, based on Data.Map.
- v1.1 ! had its arguments flipped. Fixed. Also added fromMap.
- v1.2 Added Data.SetMap, renamed Multimap to Data.MultiMap. Fixed the type of delete. Derive instances for Data and Typeable.
- v1.2.1 Fixed typos in the documentation.
-
A very simple MultiMap, based on Map from the containers package.
-
multimap Data.MultiMap A MultiMap with keys k and values v. A key can have multiple values (but not zero). The same value can be added multiple times (thus no constraints are ever imposed on v). Internally this is simply a Map k [v]. See toMap for accessing the underlying Map.
fromMap :: Map k [a] -> MultiMap k amultimap Data.MultiMap Turns a map of lists into a multimap.
toMap :: MultiMap k a -> Map k [a]multimap Data.MultiMap O(1). Return the map of lists.
toMapOfSets :: Ord a => MultiMap k a -> Map k (Set a)multimap Data.MultiMap /O(k*m*log m) where k is the number of keys and m the maximum number of elements associated with a single key/
-
No documentation available.
-
multimap Data.SetMap A SetMap with keys k and values v.