It seems like this brings a syntactical improvement at runtime performance cost. Are there more examples for compositional advantages or why would you prefer functions over macros for this?
E. g. I recently wrote myself arrow macros that return a functions which thread its only argument through the arrow - They could do the syntactical job at no cost here. On Saturday, May 9, 2015 at 10:18:47 PM UTC+2, Herwig Hochleitner wrote: > > I've uploaded a proposal / working code in literate programming style to > github: > > https://gist.github.com/bendlas/0722a35ab274d659c507 > > I'd be delighted if you took the time to read it through, maybe try it out > and tell me what you think of it. > > This is not strictly a proposal for core just now, and I know how wary the > community is with such things, but this fits so well, I just had to give it > a chance to take a hold in the language. For an example, look at the > benchmarking code at the end of the gist. > So if this passes by someone at cognitect, please add a comment on whether > you'd consider these operations for inclusion. > > thanks > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.