On 23 Okt., 15:12, Rich Hickey <[EMAIL PROTECTED]> wrote: > On Oct 22, 6:45 pm, André Thieme <[EMAIL PROTECTED]> wrote:
> I think, in general, this proposal, while interesting, has the > difficulty that it reduces the power of #() to not much more than > currying, and has some presumptions that need to be checked. Well yes, I understand that point. On the other hand the power of #() is not only reduced, but also increased, by allowing things that it can't do right now. > Special forms or macros are supported: > > #(if %3 %2 %1) Okay, I see, and I didn’t know that. What do you think about introducing another character that would be treated special by the reader? An example could be the paragraph symbol § §(< 14) That § could also be used later for an infix math package to allow us to say §[4xy⁸ - 2.6√π] (where the reader macro §[...] expects variable names to be one char long.. this is just an example of a powerful infix macro). The § is not often used in programs and would probably not be missed very much. > #(do (foo %2) (bar %1)) Yes, good example, so we should keep #(..) as it is now. And I vote for adding currying support :-) If the *readtable* were already accessible I would do it myself. I understand that it currently has to be done in Java. --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---