Created
April 28, 2019 17:29
-
-
Save 4mitch/fae1eec1bf2693115d6d665ed939f4b8 to your computer and use it in GitHub Desktop.
Treat a sequence as a table in Clojure
This file contains 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
(->> | |
'(1 2 3 4) | |
(map #(Math/pow % 2)) | |
(partition 2) | |
(map println) | |
dorun | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment