Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def context -> different varargs seq impl
user=> (defn foo [& args] (println (class args)))
#'user/foo
user=> (foo 1 2 3)
clojure.lang.ArraySeq
nil
user=> (def bar (foo 1 2 3))
clojure.lang.PersistentVector$ChunkedSeq
#'user/bar
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.