Hoogle Search
Within LTS Haskell 24.37 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
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.
fromList :: Ord v => [v] -> Multiset vmore-containers Data.Multiset O(n * log n) Builds a multiset from values.
toGroupList :: Multiset v -> [Group v]more-containers Data.Multiset O(m) Converts the multiset to a list of values and associated counts. The groups are in undefined order; see toGrowingGroupList and toShrinkingGroupList for sorted versions.
toGrowingGroupList :: Multiset v -> [Group v]more-containers Data.Multiset O(m * log m) Converts the multiset into a list of values and counts, from least common to most.
toShrinkingGroupList :: Multiset v -> [Group v]more-containers Data.Multiset O(m * log m) Converts the multiset into a list of values and counts, from most common to least.
parseJSONList :: FromJSON a => Value -> Parser [a]morpheus-graphql-client Data.Morpheus.Client.CodeGen.Internal No documentation available.