This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-09
Channels
- # announcements (1)
- # architecture (20)
- # aws (22)
- # babashka (41)
- # beginners (191)
- # chlorine-clover (66)
- # cider (19)
- # clj-kondo (54)
- # cljs-dev (15)
- # cljsrn (78)
- # clojars (1)
- # clojure (148)
- # clojure-android (4)
- # clojure-europe (7)
- # clojure-gamedev (15)
- # clojure-germany (6)
- # clojure-losangeles (46)
- # clojure-nl (23)
- # clojure-survey (3)
- # clojure-uk (46)
- # clojurescript (24)
- # conjure (21)
- # cursive (21)
- # data-science (11)
- # datomic (5)
- # events (2)
- # fulcro (28)
- # garden (32)
- # joker (2)
- # kaocha (6)
- # lambdaisland (4)
- # mount (2)
- # off-topic (11)
- # pathom (10)
- # pedestal (13)
- # re-frame (7)
- # shadow-cljs (15)
- # spacemacs (21)
- # specmonstah (1)
- # wasm (1)
- # windows (1)
- # xtdb (37)
@borkdude
giving sci a spin for replacing bootstrap cljs, working really well so far!
One tiny nitpick is that I have to actually pass bindings like js/console.log
compared to having access to it with bootstrap, but that's probably a feature not a bug. One issue that I would like to solve is not having sci throw when called with wrong arity. I'm writing a clj wrapper for a JS library, and often in JS library world accessor functions can be called with variadic arguments. Could throw-arity be disabled with a flag perhaps?
I tried to add a flag do disable the variadic args check but I feel like I'm messing about sci too much without understanding consequences. Besides I found out that (fn [f & args])
works and that's fine, slightly different from regular cljs but whatever.
@hobosarefriends to bad, I'm afraid it wasn't the last one. Had to move stuff myself, so could stay till the end. But can cast ClojureD again now.
There is a PR to improve JS interop but it's not finished. Maybe you could look at reviewing it. Optimally I'd like to split it in multiple smaller PRs accompanied with unit tests.
My "feature not a bug" comment was on that sci doesn't include the js/console bindings by default, unlike bootstrap. But I guess that yes, I think it's a feature that you can call a cljs function with the wrong arity, since JS libraries often use that fact.
Only thing I'm wondering about, is why clojure.tools.reader.reader-types
decided to start counting cols from 1, instead of 0. Since now it won't work with subs
(unless you dec
then once of course)
@kevin.van.rooijen cool. I guess 1 or 0 is a detail that can be easily accounted for
@borkdude it took some time for the recording to become available for me, so I actually just started the upload into Youtube
which also takes a while, so I'll keep an eye on that and ping here and twitter when things are visible
or you can keep your CMD+R keys warm on https://www.youtube.com/channel/UCkb1jQA-BMBwmYG1OkHILJw 🙂
in the meanwhile, I made the video public (anonymously, no google sign in required): https://drive.google.com/file/d/1GFb1oBOjjA262LjzJLNR9qytmVr0xmLK/view?usp=sharing
oh! youtube was actually quicker than I thought: https://youtu.be/0YmZYnwyHHc