Skip to content

Instantly share code, notes, and snippets.

@sickill
Last active Oct 30, 2015
Embed
What would you like to do?
(defmacro events [one two & items] (prn one two) (set items))
(events 1 2 3 4 5 6) ; => #{3 4 5 6}
1 2 ; <- printed
(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