Another small bug report:
(let [{:keys [a/b] :or {a/b 42}} {}]
b)
Evaluates to nil, but should evaluate to 42
(let [{:keys [a/b] :or {b 42}} {}]
b)
Evaluates to 42, but should evaluate to nil.
On Tuesday, July 5, 2016 at 9:50:47 PM UTC+2, Alex Miller wrote:
>
> Clojure 1.9.0-alpha9 is now available.
>
> Try it via
>
> - Download:
> https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha9
> - Leiningen: [org.clojure/clojure "1.9.0-alpha9"]
>
> 1.9.0-alpha9 includes the following changes since 1.9.0-alpha8:
>
> - NEW clojure.spec/assert - a facility for adding spec assertions to your
> code. See the docs for *compile-asserts*
> <http://clojure.github.io/clojure/branch-master/clojure.spec-api.html#clojure.spec/*compile-asserts*>
>
> and assert
> <http://clojure.github.io/clojure/branch-master/clojure.spec-api.html#clojure.spec/assert>
>
> for more details.
>
> - clojure.spec/merge - now merges rather than flows in conform/unform
>
> - clojure.spec.test/instrument now reports the caller that caused an :args
> spec failure and ignores spec'ed macros
>
> - clojure.spec.test - `test`, `test-fn`, `testable-syms` renamed to
> `check`, `check-fn`, and `checkable-syms` to better reflect their purpose.
> Additionally, some of the return value structure of `check` has been
> further improved.
>
> - clojure.core/Throwable->map formerly returned StackTraceElements which
> were later handled by the printer. Now the StackTraceElements are converted
> to data such that the return value is pure Clojure data, as intended.
>
>
>
>
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.