Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. partialSortByBounds :: (PrimMonad m, MVector v e) => Comparison e -> v (PrimState m) e -> Int -> Int -> Int -> m ()

    vector-algorithms Data.Vector.Algorithms.Intro

    Moves the least k elements in the interval [l,u) to the positions [l,k+l), sorted.

  2. defaultSortBy :: IsSequence seq => (Element seq -> Element seq -> Ordering) -> seq -> seq

    mono-traversable Data.Sequences

    Use Data.List's implementation of sortBy.

  3. vectorSort :: (Vector v e, Ord e) => v e -> v e

    mono-traversable Data.Sequences

    Sort a vector.

  4. vectorSortBy :: Vector v e => (e -> e -> Ordering) -> v e -> v e

    mono-traversable Data.Sequences

    Sort a vector using an supplied element ordering function.

  5. unstableSort :: Ord a => Seq a -> Seq a

    rio RIO.Seq

    unstableSort sorts the specified Seq by the natural ordering of its elements, but the sort is not stable. This algorithm is frequently faster and uses less memory than sort.

  6. unstableSortBy :: (a -> a -> Ordering) -> Seq a -> Seq a

    rio RIO.Seq

    A generalization of unstableSort, unstableSortBy takes an arbitrary comparator and sorts the specified sequence. The sort is not stable. This algorithm is frequently faster and uses less memory than sortBy.

  7. gsort :: (Ord e, Vector v e) => v e -> v e

    statistics Statistics.Function

    Sort a vector.

  8. partialSort :: (Vector v e, Ord e) => Int -> v e -> v e

    statistics Statistics.Function

    Partially sort a vector, such that the least k elements will be at the front.

  9. revTopSort :: Graph a -> [a]

    Cabal-syntax Distribution.Compat.Graph

    Reverse topologically sort the nodes of a graph. Requires amortized construction of graph.

  10. topSort :: Graph a -> [a]

    Cabal-syntax Distribution.Compat.Graph

    Topologically sort the nodes of a graph. Requires amortized construction of graph.

Page 105 of many | Previous | Next