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.

  1. unstableSortOn :: Ord b => (a -> b) -> Seq a -> Seq a

    containers Data.Sequence.Internal.Sorting

    unstableSortOn sorts the specified Seq by comparing the results of a key function applied to each element. unstableSortOn f is equivalent to unstableSortBy (compare `on` f), but has the performance advantage of only evaluating f once for each element in the input list. This is called the decorate-sort-undecorate paradigm, or Schwartzian transform. An example of using unstableSortOn might be to sort a Seq of strings according to their length:

    unstableSortOn length (fromList ["alligator", "monkey", "zebra"]) == fromList ["zebra", "monkey", "alligator"]
    
    If, instead, unstableSortBy had been used, length would be evaluated on every comparison, giving <math> evaluations, rather than <math>. If f is very cheap (for example a record selector, or fst), unstableSortBy (compare `on` f) will be faster than unstableSortOn f.

  2. getSorted :: SortedList a -> [a]

    QuickCheck Test.QuickCheck

    No documentation available.

  3. getSorted :: SortedList a -> [a]

    QuickCheck Test.QuickCheck.Modifiers

    No documentation available.

  4. getSorted :: SortedList a -> [a]

    tasty-quickcheck Test.Tasty.QuickCheck

    No documentation available.

  5. data TypeLitSort

    ghc-prim GHC.Types

    No documentation available.

  6. clearFromCursorToLineBeginning :: IO ()

    ansi-terminal System.Console.ANSI

    No documentation available.

  7. clearFromCursorToLineBeginningCode :: String

    ansi-terminal System.Console.ANSI

    No documentation available.

  8. clearFromCursorToLineEnd :: IO ()

    ansi-terminal System.Console.ANSI

    No documentation available.

  9. clearFromCursorToLineEndCode :: String

    ansi-terminal System.Console.ANSI

    No documentation available.

  10. clearFromCursorToScreenBeginning :: IO ()

    ansi-terminal System.Console.ANSI

    No documentation available.

Page 102 of many | Previous | Next