This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-29
Channels
- # admin-announcements (2)
- # beginners (4)
- # boot (6)
- # cider (18)
- # cljs-dev (22)
- # cljsrn (13)
- # clojure (76)
- # clojure-czech (2)
- # clojure-dusseldorf (2)
- # clojure-russia (45)
- # clojure-sg (1)
- # clojure-spec (15)
- # clojurebridge-ams (6)
- # clojurescript (58)
- # cursive (4)
- # datomic (14)
- # dirac (31)
- # emacs (6)
- # funcool (2)
- # hoplon (2)
- # lein-figwheel (1)
- # om (124)
- # planck (17)
- # re-frame (12)
- # slack-help (11)
- # specter (12)
- # tmp-json-parsing (6)
- # yada (4)
@richiardiandrea: thanks
clojure.spec / cljs.spec is pretty freaking cool https://gist.github.com/swannodette/842326cbb6ab35e0d1aa51fb41c5697e
at the risk of sounding ignorant, how do i use the latest code locally? interested in trying out cljs.spec myself 😎
thanks ill try that happy birthday as well 🍰
yatta! it works, time to play!
If anyone is interested in messing with cljs.spec
via bootstrap on OS X, prebuilt Planck binary and instructions is at https://gist.github.com/mfikes/4b41b7c406c57228489b5edfb6ffe6a7
This just sucks: https://github.com/JulianBirch/cljs-ajax/issues/141
This seems to be an Android only issue which I'd like to try with other libraries, if available
Hey all, here is a list of TodoMVC implementations in clojurescript, please add to it if you know of others! https://github.com/gadfly361/cljs-todomvc
I'm confused as to what having or not having macros has to do with namespace name? is it a bootstrapping thing?
it might be worth just rewriting clojure.spec
to cljs.spec
but I need to think about it. Other option is to get clojure.spec to be written in .cljc
aliasing cljs.*
to clojure.*
would be another option (we already do that for cljs.core
)
thought you were just suggesting it for cljs.spec
in particular, but it might be worth for all of the cljs.*
namespaces
@dnolen took your advice on doing dynamic calls to def for the inline caching for specter in cljs – works great
@dnolen one question, to avoid "Use of undeclared Var" warnings, is reading the var by using a symbol like "user.pathcache1234" ok to do?
@nathanmarz: a bit implementation detail-y but unlikely to change - https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/spec/impl/gen.cljc#L15
if you are generating some symbol you want the compiler to not warn about (since you have some information the compiler does not that it will in fact exist)
oh awesome, I'll try that instead
was browsing the cljs codebase yesterday looking for something exactly like that 🙂
@dnolen: works great
correct me if I’m wrong, but there’s no way to conditionally require a namespace in CLJS, right?
I’d need to have different builds or something to solve that problem, AFAICT
example use case is I only want to require my NS which has cljs.spec
specs if the CLJS version is >= 1.9
@anmonteiro: yes not possible, earlier versions of reader conditional could have supported that