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

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.
Removes duplicate elements from a list, keeping only the first occurrence. This is asymptotically faster than using nub from Data.List.
>>> ordNub [3,2,1,3,2,1]
[3,2,1]
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.