Indeed, there's no need for anything to be a reader macro, except
concision. You can write this as an ordinary macro, eg, (crazy-fn %a %%b
%%%c). If you try that and find it's awesome, share it with others. If it's
universally loved, perhaps someday it could be a reader macro.
On Monday, Septem
So you would introduce all of the functions first, then insert the body
into the inside? Major issue that I can see is that it's very powerful and
very useful only in very specific circumstances, but isn't extensible at
all. Looks cool, though. Maybe you could write a macro that does something
like
On Sun, Sep 16, 2012 at 6:16 AM, vhsmaia wrote:
> Hello. I'm new here, so, not sure if those were already posted. But why is
> this not used? An example would be:
> #(%a %%b %%%c) would be the same as (fn [a] (fn [b] (fn [c] (a b c)))
My eyes! The goggles to nothing!
--
You received this messag
I think the most simple reason is that it's unreadable for humans.
On Sun, Sep 16, 2012 at 6:16 AM, vhsmaia wrote:
> Hello. I'm new here, so, not sure if those were already posted. But why is
> this not used? An example would be:
> #(%a %%b %%%c) would be the same as (fn [a] (fn [b] (fn [c] (a b
Hello. I'm new here, so, not sure if those were already posted. But why is
this not used? An example would be:
#(%a %%b %%%c) would be the same as (fn [a] (fn [b] (fn [c] (a b c)))
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group