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.

  1. fromFlatList :: (Ord k1, Ord k2, MonoidNull v) => [((k1, k2), v)] -> NestedMonoidMap k1 k2 v

    monoidmap-examples Data.MonoidMap.Examples.NestedMonoidMap

    No documentation available.

  2. fromNestedList :: (Ord k1, Ord k2, MonoidNull v) => [(k1, [(k2, v)])] -> NestedMonoidMap k1 k2 v

    monoidmap-examples Data.MonoidMap.Examples.NestedMonoidMap

    No documentation available.

  3. toFlatList :: (Ord k1, Ord k2, MonoidNull v) => NestedMonoidMap k1 k2 v -> [((k1, k2), v)]

    monoidmap-examples Data.MonoidMap.Examples.NestedMonoidMap

    No documentation available.

  4. toNestedList :: (Ord k1, Ord k2, MonoidNull v) => NestedMonoidMap k1 k2 v -> [(k1, [(k2, v)])]

    monoidmap-examples Data.MonoidMap.Examples.NestedMonoidMap

    No documentation available.

  5. fromGroupList :: (Collection c, Monoid (c v), Ord k) => [Group k (c v)] -> Multimap c k v

    more-containers Data.Multimap

    O(m) Builds a multimap from already grouped collections.

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

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

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

    more-containers Data.Multimap

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

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

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

Page 207 of many | Previous | Next