= Quicksort in Haskell The first thing to know about Haskell's syntax is that parentheses are used for grouping, and not for function application. ```haskell quicksort :: Ord a => [a] -> [a] quicksort [] = [] quicksort (p:xs) = (quicksort lesser) ++ [p] ++ (quicksort greater) where lesser = filter (< p) xs greater = filter (>= p) xs ``` The parentheses indicate the grouping of operands on the right-hand side of equations.