quickselect-0.1.0.0
Data.Vector.Mutable.Partition
Synopsis
partition :: MVector v a => (a -> a -> Bool) -> v s a -> Int -> Int -> Int -> ST s Int Source #
partition (<=) xs lb ub n partitions the section of the list defined by the inclusive slice [lb,ub] around the element at n.
partition (<=) xs lb ub n
partition
<=
lb
ub
n