This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-25
Channels
- # announcements (5)
- # babashka (23)
- # beginners (70)
- # cider (24)
- # clj-kondo (14)
- # cljsrn (2)
- # clojars (6)
- # clojure (195)
- # clojure-australia (1)
- # clojure-dev (2)
- # clojure-europe (27)
- # clojure-france (1)
- # clojure-nl (4)
- # clojure-norway (2)
- # clojure-spec (2)
- # clojure-uk (12)
- # clojurescript (3)
- # clojurewerkz (1)
- # core-async (21)
- # cursive (9)
- # datomic (37)
- # duct (3)
- # emacs (16)
- # events (4)
- # fulcro (34)
- # graalvm (12)
- # javascript (3)
- # jobs (4)
- # malli (1)
- # meander (3)
- # nrepl (1)
- # off-topic (27)
- # pathom (16)
- # re-frame (17)
- # reagent (19)
- # rewrite-clj (18)
- # sci (47)
- # shadow-cljs (179)
- # spacemacs (18)
- # sql (52)
- # tools-deps (80)
- # vim (27)
- # vrac (1)
- # xtdb (9)
@borkdude in JS land it's okay to call a function with a "wrong" arity. For example in d3 and http://deck.gl you have the accessor pattern, where you supply a function to extract some data from each item of a collection. That function gets passed each item, but also additional contextual info.
I can see it being useful on a function by function basis, but varargs is already the way to do that
@kevin.van.rooijen recently experimented with {:classes {:allow :all 'js goog/global}
to allow global interop with js/...
stuff, I believe plexus also has tried it
agreed, working with (fn [datapoint & args] ..)
works well enough, but an anonymous function called like that in regular cljs won't error.
I was already using :classes {:allow :all}
but hadn't tried the 'js goog/global yet. That will be useful.
Btw, would it make sense to have a separate sci channel? Or are babashka users also interested in the sci library discussions?
People could follow both channels? I think it makes sense to seperate it, Babashka and Sci are different enough. Main traffic will still go to Babashka I assume
OK, created a #sci channel. People interested in using or developing the #sci library can (also) go there.
@plexus If I invite @logbot into the #sci channel, that's sufficient for getting the logs to https://clojurians-log.clojureverse.org/?
hey everyone! need some help. how would you perform find and replace certain text recursively across a directory and it's sub-dirs using bb?
can babashka work with https://github.com/cognitect-labs/aws-api?
unfortunately not, but @jeroenvandijk could maybe tell you more. shelling out to a CLI or talking via HTTP always works