:: Ord a => [a] -> [a] -package:ghc -package:extra -package:base-prelude -package:Cabal -package:Cabal-syntax -package:incipit-base -package:imports -package:amazonka-core -package:basement -package:base -package:hedgehog -package:containers -package:integration -package:safe -package:lifted-base -package:errors -package:generic-deriving
The
nub function which removes duplicate elements from 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]
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.