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.

  1. fromList :: forall (c :: Type -> Type) v k . (Collection c, IsList (c v), Item (c v) ~ v, Ord k) => [(k, v)] -> Multimap c k v

    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.

  2. fromListWith :: Ord k => ([v] -> c v) -> [(k, v)] -> Multimap c k v

    more-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.

  3. toGroupList :: Multimap c k v -> [Group k (c v)]

    more-containers Data.Multimap

    O(m) Converts a multimap into its list of collections.

  4. 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).

  5. fromGroupList :: Ord v => [Group v] -> Multiset v

    more-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.

  6. fromList :: Ord v => [v] -> Multiset v

    more-containers Data.Multiset

    O(n * log n) Builds a multiset from values.

  7. 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.

  8. 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.

  9. 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.

  10. parseJSONList :: FromJSON a => Value -> Parser [a]

    morpheus-graphql-client Data.Morpheus.Client.CodeGen.Internal

    No documentation available.

Page 208 of many | Previous | Next