Hoogle Search
Within LTS Haskell 24.55 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sequenceSortIter :: (HasCallStack, MonadIO m) => Sequence -> SequenceIterCompareFunc -> m ()gi-glib GI.GLib.Structs.Sequence Like sequenceSort, but uses a SequenceIterCompareFunc instead of a CompareDataFunc as the compare function cmpFunc is called with two iterators pointing into seq. It should return 0 if the iterators are equal, a negative value if the first iterator comes before the second, and a positive value if the second iterator comes before the first. Since: 2.14
valueArraySort :: (HasCallStack, MonadIO m) => ValueArray -> CompareDataFunc -> m ValueArraygi-gobject GI.GObject.Structs.ValueArray Deprecated: (Since version 2.32)Use Array and g_array_sort_with_data().
partialSort :: (PrimMonad m, MVector v e, Ord e) => v (PrimState m) e -> Int -> m ()vector-algorithms Data.Vector.Algorithms.Heap Moves the lowest k elements to the front of the array, sorted. The remaining values of the array will be in no particular order.
partialSortBy :: (PrimMonad m, MVector v e) => Comparison e -> v (PrimState m) e -> Int -> m ()vector-algorithms Data.Vector.Algorithms.Heap Moves the lowest k elements (as defined by the comparison) to the front of the array, sorted. The remaining values of the array will be in no particular order.
-
vector-algorithms Data.Vector.Algorithms.Heap Moves the lowest k elements in the portion [l,u) of the array into positions [l,k+l), sorted. The remaining values in [l,u) will be in no particular order. Values outside the range [l,u) will be unaffected.
partialSort :: (PrimMonad m, MVector v e, Ord e) => v (PrimState m) e -> Int -> m ()vector-algorithms Data.Vector.Algorithms.Intro Moves the least k elements to the front of the array, sorted.
partialSortBy :: (PrimMonad m, MVector v e) => Comparison e -> v (PrimState m) e -> Int -> m ()vector-algorithms Data.Vector.Algorithms.Intro Moves the least k elements (as defined by the comparison) to the front of the array, sorted.
-
vector-algorithms Data.Vector.Algorithms.Intro Moves the least k elements in the interval [l,u) to the positions [l,k+l), sorted.
defaultSortBy :: IsSequence seq => (Element seq -> Element seq -> Ordering) -> seq -> seqmono-traversable Data.Sequences vectorSort :: (Vector v e, Ord e) => v e -> v emono-traversable Data.Sequences Sort a vector.