Typelevel quicksort in Scala

Implementing quicksort in Scala's typesystem