:: Ord a => [a] -> [a] -package:statistics -package:witherable -package:ghc -is:exact is:exact -package:lens -package:extra -package:hxt -package:vector -package:safe package:Cabal

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.