Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(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
You can’t perform that action at this time.