I would do it by making read-files-into-memory take a single argument,
a list of filenames, rather than N arguments, each of which is a
filename. Just drop the & in the function's definition and you should
be done.

On Apr 14, 4:21 pm, Avram <aav...@me.com> wrote:
> Yes, I am missing a way to turn the [& filenames] into something like
> "name1" "name2" …
>
> How might this be done?  (I am not certain what "type" this would be,
> a stringified version of each item in the sequence, not a sequence
> itself! )
>
> (defn read-files-into-memory
>   [ & filenames ]
>   (print filenames)
>   (map #(read-json-filename %1) filenames))
>
> Many thanks,
> Avram

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to