Last active
December 17, 2015 03:29
-
-
Save addywaddy/b3a19cc7f70fb33201d2 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
(defn foo [first & rest] | |
(apply bar first rest) | |
) | |
(foo :name [:a :b] [:c :d]) | |
;; How can I ensure that bar is called like this: | |
;; (bar :name [:a :b] [:c :d]) | |
;; | |
;; and not like this: | |
;; | |
;; (bar :name ([:a :b] [:c :d])) | |
;; ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment