This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-18
Channels
- # beginners (13)
- # boot (2)
- # cider (5)
- # cljs-dev (47)
- # cljsrn (5)
- # clojure (34)
- # clojure-berlin (2)
- # clojure-russia (33)
- # clojure-serbia (10)
- # clojure-spec (24)
- # clojurebridge (1)
- # clojurescript (21)
- # code-reviews (8)
- # core-matrix (4)
- # datomic (11)
- # hoplon (1)
- # jobs (1)
- # leiningen (4)
- # lumo (4)
- # off-topic (12)
- # om (3)
- # parinfer (4)
- # pedestal (3)
- # proton (1)
- # reagent (3)
- # ring-swagger (2)
- # rum (2)
- # untangled (9)
- # vim (6)
Is there a timeline for when clojure.core.specs.alpha namespace will be ported to clojurescript?
I’m not aware of any timeline. Generally, spec stuff has been ported over by the community, as it evolves. This particular namespace hasn’t, but could probably be ported (and perhaps revised to reflect any ClojureScript-specific aspects.)
@mfikes While you're here, another quick question directly for you. Is this blog post still relevant: http://blog.fikesfarm.com/posts/2016-03-01-clojurescript-macro-sugar.html#implicit_sugar
FWIW, even though, in ClojureScript, the namespaces were revised to use the alpha
segment, the ClojureScript spec code is still part of the ClojureScript compiler distribution. I don’t know what that might mean for the core.specs.alpha
lib, which seems to be separate
@puzzler Yes, I believe everything is still true in that post (I suppose it is fairly “evergreen”). A few things did occur in the ns
spec world since then: The clojure
aliasing, and the ability to rename stuff.
@mfikes So a file still needs to do a require-macros on itself? I thought this happened automatically now.
@puzzler You might be right. And if so, I wonder if that is formally documented anywhere.
@puzzler It appears that a file still needs to require its own macros in order for the implicit macro loading feature to be enabled.
has anyone used moment-timezone's guess function? having trouble calling it through clojurescript
Does anyone know why Planck/Lumo (self-hosted cljs) would complain on this line: https://github.com/dm3/stopwatch/blob/master/src/stopwatch/impl.cljc#L38 with
WARNING: Use of undeclared Var stopwatch.impl/+?hrtime at line 38 stopwatch/impl.cljc
? The var it’s complaining about is defined two lines above the use-site. I can’t understand the issue from the generated javascript…