Skip to content

Commit 036e5a0

Browse files
authored
Update quick_sort.fsx
1 parent 7b2bbfa commit 036e5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorting/quick_sort/quick_sort.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ let rec quicksort list =
33
| [] -> []
44
| x::xs ->
55
let smaller, larger = List.partition (fun y -> y < x) xs
6-
in List.concat [quicksort smaller; [x]; quicksort larger]
6+
in List.concat [quicksort smaller; [x]; quicksort larger]

0 commit comments

Comments
 (0)