Nice to see continued progress on Clojure 1.10! It is not clear to me what metadata extension provides that is not already possible with direct definitions or external extensions. Some additional background or a small motivating example would be much appreciated in clearing up the confusion!
On Tuesday, November 6, 2018 at 2:42:45 PM UTC+1, Alex Miller wrote: > > 1.10.0-beta5 is now available. > > You can try it with clj using: > > clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version > "1.10.0-beta5"}}}' > > Changes in 1.10.0-beta5: > > > - In addition to prior methods of extension, values can now extend > protocols by adding metadata where keys are fully-qualified symbols naming > protocol functions and values are function implementations. Protocol > implementations are checked first for direct definitions (defrecord, > deftype, reify), then metadata definitions, then external extensions > (extend, extend-type, extend-protocol). datafy has been updated to use > this > mechanism. > - `symbol` can now be passed vars or keywords to obtain the > corresponding symbol > - CLJ-2420 <https://dev.clojure.org/jira/browse/CLJ-2420> error > reporting enhancements - more refined phase reporting, new > clojure.main/ex-triage split out of clojure.main/ex-str, execution errors > now report the top *user* line in the stack trace omitting frames from > core, enhancements to providing file and line via meta on a form > - CLJ-2425 <https://dev.clojure.org/jira/browse/CLJ-2425> add java 11 > javadoc url > - CLJ-2424 <https://dev.clojure.org/jira/browse/CLJ-2424> fix test bug > from CLJ-2417 > > You can read the full 1.10 changelog here: > https://github.com/clojure/clojure/blob/master/changes.md > -- 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.