fun quicksort nil : int list = nil | quicksort (x::xs) = let val part = List.partition (fn y => y