Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0f4f18

Browse files
author
Ryan Neufeld
committed
Merge pull request clojure-cookbook#373 from tfrisk/master
Fix sort order typo in example code
2 parents b43d550 + 7ae9bfc commit b0f4f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02_composite-data/2-24_sorting.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This means that you can pass regular Clojure predicates to +sort+:
7474
(sort > [1 4 3 2])
7575
;; -> (4 3 2 1)
7676
77-
(sort > [1 4 3 2])
77+
(sort < [1 4 3 2])
7878
;; -> (1 2 3 4)
7979
----
8080

0 commit comments

Comments
 (0)