Last active
August 29, 2015 14:04
-
-
Save trptcolin/12f43c4b9c3cd51c9519 to your computer and use it in GitHub Desktop.
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
user=> (sequence (comp (map inc) (map #(* % %))) (range 10)) | |
(1 4 9 16 25 36 49 64 81 100) | |
user=> (map (comp inc #(* % %)) (range 10)) | |
(1 2 5 10 17 26 37 50 65 82) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment