I have a functionize macro if I ever want to do that with a macro but I
think we are getting off topic here...
all I'm saying is that if I want to keep a loop very tight and want to
perform a couple of checks inline, why clutter the body of the loop
with 'if's or 'some's or whatever...you want to keep it readable but
inlined at the same time...functions deal with Object don't they? I do
agree on all the points made here and I am indeed very careful with my
macros...
Jim
On 14/06/12 18:26, nicolas.o...@gmail.com wrote:
why add the extra overhead of potentially boxing/unboxing x in
such a simple case? Its not like the macro is getting out of
control...Its a one liner...
Because functions are first class and not macros.
Ex:
(map to-bool l)
--
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
--
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