Documentation ¶ Index ¶ func QuickSort[T any](xs []T, lessThan func(l, r T) bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func QuickSort ¶ func QuickSort[T any](xs []T, lessThan func(l, r T) bool) This is a generic Quicksort. You only need to pass in a predicate function that tells whether or not l is less than r. This is NOT a pure function. It mutates the underlying xs array. Types ¶ This section is empty. Source Files ¶ View all Source files quicksort.go Click to show internal directories. Click to hide internal directories.