Last active
December 3, 2015 15:55
-
-
Save lildata/dc4a8c4fe1ebbf9148dd to your computer and use it in GitHub Desktop.
Fill & Print an array in clojure (is there a better way to do ??)
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
| (def array (take 3 (partition 3 (partition 3 (iterate inc 1))))) | |
| (doall (map #(doall (map println %)) array)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment