Ah, I see that part of the reason it’s not yet documented is that it’s not really finished; you can’t, for example, use a keyword as a function with it. Trying to use #=(:tap-tempo control-buttons) as a case target fails with clojure.lang.Keyword cannot be cast to clojure.lang.Symbol. I guess I will give up on it until/unless it gets finished and becomes official. :)
On Monday, February 8, 2016 at 9:49:57 PM UTC-6, James Elliott wrote: > > Quite dissonant, I mean, derp. > > On Monday, February 8, 2016 at 9:49:28 PM UTC-6, James Elliott wrote: >> >> Oh, I see… interesting. What would it take to achieve commitment? :) I >> humbly submit that it feels qiote dissonant to stumble across something >> like this in a language that is attaining such wide adoption as Clojure is >> now. >> >> On Monday, February 8, 2016 at 8:53:45 PM UTC-6, Alex Miller wrote: >>> >>> Rich has never committed to officially making this part of Clojure so it >>> has been left as an undocumented feature. >>> >>> On Monday, February 8, 2016 at 12:33:44 PM UTC-6, James Elliott wrote: >>>> >>>> I learned recently <http://stackoverflow.com/a/15332367/802383> that >>>> you can tell the reader to evaluate a function at read time, if you want >>>> some potentially costly operation that you know will result in a constant >>>> value to be done just once, rather than every time the surrounding form is >>>> evaluated, by prefixing it with the reader macro #= and I found this >>>> surprising. Shouldn’t this be documented in the Reader reference >>>> <http://clojure.org/reference/reader>? >>>> >>> -- 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.