Created
March 6, 2014 01:50
-
-
Save pbalduino/9380614 to your computer and use it in GitHub Desktop.
Solving the problem proposed by @salvianoo in https://gist.github.com/salvianoo/9380272
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
| (defmacro %w [& coll] | |
| `(map str (quote ~coll))) | |
| (%w 1 2 3 4) | |
| ; ("1" "2" "3" "4") | |
| (%w a b c d) | |
| ; ("a" "b" "c" "d") | |
| (%w + - * /) | |
| ; ("+" "-" "*" "/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome! Thanks :D