Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
data-effects Data.Effect.Shift No documentation available.
-
data-effects Data.Effect.Shift No documentation available.
-
data-effects Data.Effect.Shift No documentation available.
-
data-effects-core Control.Effect No documentation available.
-
data-effects-core Control.Effect.Interpret No documentation available.
-
data-effects-core Control.Effect.Interpret No documentation available.
-
data-effects-core Control.Effect.Transform No documentation available.
-
data-effects-core Data.Effect No documentation available.
mergeAll :: Ord a => [[a]] -> [a]data-ordlist Data.List.Ordered The mergeAll function merges a (potentially) infinite number of ordered lists, under the assumption that the heads of the inner lists are sorted. An element is duplicated in the result as many times as the total number of occurrences in all inner lists. The mergeAll function is closely related to foldr merge []. The former does not assume that the outer list is finite, whereas the latter does not assume that the heads of the inner lists are sorted. When both sets of assumptions are met, these two functions are equivalent. This implementation of mergeAll uses a tree of comparisons, and is based on input from Dave Bayer, Heinrich Apfelmus, Omar Antolin Camarena, and Will Ness. See CHANGES for details.
mergeAllBy :: (a -> a -> Ordering) -> [[a]] -> [a]data-ordlist Data.List.Ordered The mergeAllBy function is the non-overloaded variant of the mergeAll function.