This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-30
Channels
- # announcements (15)
- # beginners (99)
- # boot (15)
- # cider (105)
- # cljdoc (2)
- # cljs-dev (17)
- # clojure (132)
- # clojure-conj (1)
- # clojure-dev (5)
- # clojure-italy (19)
- # clojure-losangeles (2)
- # clojure-nl (20)
- # clojure-spec (70)
- # clojure-uk (50)
- # clojurescript (153)
- # core-logic (9)
- # cryogen (4)
- # cursive (6)
- # datomic (40)
- # duct (5)
- # figwheel-main (10)
- # fulcro (245)
- # hoplon (1)
- # jobs (3)
- # leiningen (12)
- # mount (8)
- # nrepl (11)
- # off-topic (1)
- # pathom (16)
- # pedestal (3)
- # planck (17)
- # re-frame (3)
- # reitit (8)
- # shadow-cljs (64)
- # spacemacs (3)
- # specter (20)
- # tools-deps (21)
I was wondering if it is possible to convert (:a x)
to (.-a x)
if we know x
is a record and a
is in its basis.
An experimental patch for this is in https://dev.clojure.org/jira/browse/CLJS-2950
Would be interested in feedback on whether this might cause any unintended consequences.
I just finished going through the few obvious spec issues I saw - this is the last one https://dev.clojure.org/jira/browse/CLJS-2728
needs to be rebased I think? @jbiserkov ^
I don't recall ever seeing anywhere the minimum version of Clojure required by the ClojureScript compiler being documented on https://clojurescript.org
project.clj
has 1.10.0-alpha in it
script/bootstrap
has 1.9.0 in it
and script/build
uses 1.8.0
The last seems to be the deciding factor, as the code being used in the compiler gets AOT compiled with 1.8.0.
On a different subject, I ran master trough Canary. A couple of @darwin’s projects might be affected by master (perhaps they just need some tweaks to their tests)
@mfikes for cljs-devtools confirmed, they just need to update some expected test results, I will do that shortly after clojurescript release, for cljs-oops, it looks like previously generated google closure optimized code was incorrect in some cases, newly it emits what I would expect a) before: https://github.com/binaryage/cljs-oops/blob/1c878ff336feff7b3591e8f598c6e7eb169d86a1/test/transcripts/expected/oget_static_goog.js#L65 b) after: https://travis-ci.org/binaryage/cljs-oops/builds/448515341#L850-L853
Cool! (ClojureScript is currently sitting at zero release-blockers; just wanted to ensure these Canary test failures were OK.)
would have to look how goog.object.get works with only one arg, if it resturns it as-is, then it works technically
I just pulled in all the big spec issues I found, that was the only patch that didn’t apply
Minimum Clojure version stuff above captured for a potential future tweak to the site: https://github.com/clojure/clojurescript-site/issues/274