Created
January 31, 2013 17:06
-
-
Save MichaelDrogalis/4684403 to your computer and use it in GitHub Desktop.
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
user> (def fiz (take 15 (cycle [nil nil "Fiz"]))) | |
#'user/fiz | |
user> (def buzz (take 15 (cycle [nil nil nil nil "Buzz"]))) | |
#'user/buzz | |
user> (map (partial apply str) (map list fiz buzz)) | |
("" "" "Fiz" "" "Buzz" "Fiz" "" "" "Fiz" "Buzz" "" "Fiz" "" "" "FizBuzz") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mediocregopher Woooo!