:: Ord a => [a] -> [a] is:exact -package:extra -package:integration -package:base -package:ghc -package:Cabal-syntax -package:witherable -package:hedgehog -package:imports -package:containers -package:incipit-base -package:base-prelude -package:amazonka-core

Like nub, but has O(n log n) complexity instead of O(n^2). Code for ordNub and listUnion taken from Niklas Hambüchen's ordnub package.
A right-biased version of ordNub. Example:
>>> ordNub [1,2,1] :: [Int]
[1,2]
>>> ordNubRight [1,2,1] :: [Int]
[2,1]
A total variant of tail.
A total variant of init.
tailSafe [] = []
tailSafe [1,3,4] = [3,4]
Identical to tail, namely that fails on an empty list. Useful to avoid the x-partial warning introduced in GHC 9.8.
tailErr [] = error "Prelude.tail: empty list"
tailErr [1,2,3] = [2,3]
Sort a vector.
The nub function which removes duplicate elements from a vector.
Sort a vector.
A minimum that fails using mzero
A maximum that fails using mzero
Generalized version of runInBoundThread.
Generalized version of runInUnboundThread.
Generalized version of mask_.
Generalized version of uninterruptibleMask_.
all nodes of a tree
O(n) Convert a vector to a list.
Take a parser that may consume input, and on failure, go back to where we started and fail as if we didn't consume input.