Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromFlatList :: (Ord k1, Ord k2, MonoidNull v) => [((k1, k2), v)] -> NestedMonoidMap k1 k2 vmonoidmap-examples Data.MonoidMap.Examples.NestedMonoidMap No documentation available.
fromNestedList :: (Ord k1, Ord k2, MonoidNull v) => [(k1, [(k2, v)])] -> NestedMonoidMap k1 k2 vmonoidmap-examples Data.MonoidMap.Examples.NestedMonoidMap No documentation available.
toFlatList :: (Ord k1, Ord k2, MonoidNull v) => NestedMonoidMap k1 k2 v -> [((k1, k2), v)]monoidmap-examples Data.MonoidMap.Examples.NestedMonoidMap No documentation available.
toNestedList :: (Ord k1, Ord k2, MonoidNull v) => NestedMonoidMap k1 k2 v -> [(k1, [(k2, v)])]monoidmap-examples Data.MonoidMap.Examples.NestedMonoidMap No documentation available.
fromGroupList :: (Collection c, Monoid (c v), Ord k) => [Group k (c v)] -> Multimap c k vmore-containers Data.Multimap O(m) Builds a multimap from already grouped collections.
-
more-containers Data.Multimap O(n * log n) Builds a multimap from a list of key, value tuples. The values are in the same order as in the original list.
fromListWith :: Ord k => ([v] -> c v) -> [(k, v)] -> Multimap c k vmore-containers Data.Multimap O(n * log n) Transforms a list of entries into a multimap, combining the values for each key into the chosen collection. The values are in the same order as in the original list.
toGroupList :: Multimap c k v -> [Group k (c v)]more-containers Data.Multimap O(m) Converts a multimap into its list of collections.
toList :: forall (c :: Type -> Type) k v . Collection c => Multimap c k v -> [(k, v)]more-containers Data.Multimap O(n) Converts a multimap into its list of entries. Note that this is different from toList which returns the multimap's values (similar to Data.Map).
fromGroupList :: Ord v => [Group v] -> Multiset vmore-containers Data.Multiset O(m * log m) Builds a multiset from a list of groups. Counts of duplicate groups are added together and elements with negative total count are omitted.