Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sortThreeNotes :: RandomGen g => g -> [([Pitch], [Pitch])]reactive-midyim Reactive.Banana.MIDI.Training No documentation available.
sortArrayBy :: (a -> a -> Ordering) -> MutableArray# s a -> Int -> Int -> ST s ()samsort Data.SamSort Sort a slice of a MutableArray# using a comparison function. The comparison must form a total order, as required by the Ord laws. offset and length must be valid, i.e.
- 0 <= offset < array size .
- 0 <= length .
- offset + length <= array size .
sortIntArrayBy :: (Int -> Int -> Ordering) -> MutableByteArray# s -> Int -> Int -> ST s ()samsort Data.SamSort Sort a slice of a MutableByteArray# interpreted as an array of Int#s using a comparison function. The comparison must form a total order, as required by the Ord laws. offset and length must be valid, i.e.
- 0 <= offset < array size .
- 0 <= length .
- offset + length <= array size .
-
streamly-core Streamly.Data.StreamK Sort the input stream using a supplied comparison function. Sorting can be achieved by simply:
>>> sortBy cmp = StreamK.mergeMapWith (StreamK.mergeBy cmp) StreamK.fromPure
However, this combinator uses a parser to first split the input stream into down and up sorted segments and then merges them to optimize sorting when pre-sorted sequences exist in the input stream. O(n) space -
streamly-core Streamly.Internal.Data.StreamK Sort the input stream using a supplied comparison function. Sorting can be achieved by simply:
>>> sortBy cmp = StreamK.mergeMapWith (StreamK.mergeBy cmp) StreamK.fromPure
However, this combinator uses a parser to first split the input stream into down and up sorted segments and then merges them to optimize sorting when pre-sorted sequences exist in the input stream. O(n) space sortDefs :: Definitions -> [(QName, Definition)]Agda Agda.Compiler.Common No documentation available.
-
Agda Agda.Interaction.InteractionTop Sorts interaction points based on their ranges.
sortUniv :: Sort' t -> Maybe UnivAgda Agda.Syntax.Internal Get the flavor of the universe. Nothing could also mean "don't know".
sortKit :: (HasBuiltins m, MonadTCError m, HasOptions m) => m SortKitAgda Agda.TypeChecking.Monad.Builtin Compute a SortKit in an environment that supports failures. When optLoadPrimitives is set to False, sortKit is a fallible operation, so for the uses of sortKit in fallible contexts (e.g. TCM), we report a type error rather than exploding.
sortRulesOfSymbol :: QName -> TCM ()Agda Agda.TypeChecking.Rewriting.Confluence No documentation available.