Last active
October 30, 2015 15:51
-
-
Save ku1ik/92a5ec0a8217bbc2c64f 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
(defmacro events [one two & items] (prn one two) (set items)) | |
(events 1 2 3 4 5 6) ; => #{3 4 5 6} | |
1 2 ; <- printed |
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
(defmacro events [one two & items] (prn one two) (set items)) | |
(events 1 2 3 4 5 6) ; => #{5 6} | |
3 4 ; <- printed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment