Yes, a macro is required. Otherwise the symbols are evaluated.
On Oct 22, 10:22 am, Tzach <tzach.livya...@gmail.com> wrote:
> Hello all
> I’m writing a small facility which get vector of vectors of names
> (strings) and print them in a special format.
> Something like (foo [[“aname” “a-different-name”] [ “oneMoreName”]])
> This works fine, but make it hard to write all the quotations when
> many parameters are used.
>
> What is the simplest way to define foo as
> (foo [[aname a-different-name ] [oneMoreName]]) ?
>
> Is macro required? (I guess it is)
>
> Thank
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---