Created
May 2, 2014 04:59
-
-
Save kurogelee/11467852 to your computer and use it in GitHub Desktop.
Clojureの無名関数で%-1は何を表すか? ref: http://qiita.com/kurogelee/items/2807639f35cfdf945cac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(apply #(println %1 %-1 %2 %&) (range 10)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 (2 3 4 5 6 7 8 9) 1 (2 3 4 5 6 7 8 9) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment