This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-12
Channels
- # ai (1)
- # announcements (7)
- # babashka (32)
- # beginners (23)
- # biff (9)
- # calva (1)
- # cljs-dev (13)
- # clojure (32)
- # clojure-belgium (1)
- # clojure-chicago (15)
- # clojure-europe (24)
- # clojure-india (3)
- # clojure-nl (3)
- # clojure-norway (55)
- # clojure-uk (4)
- # clojurebridge (1)
- # clojurescript (5)
- # core-async (17)
- # data-science (9)
- # datomic (29)
- # events (3)
- # fulcro (16)
- # graalvm-mobile (4)
- # helix (15)
- # hyperfiddle (74)
- # introduce-yourself (1)
- # jobs (4)
- # kaocha (12)
- # leiningen (27)
- # lsp (16)
- # shadow-cljs (6)
- # spacemacs (20)
- # sql (27)
- # squint (7)
- # tools-deps (29)
- # vim (2)
- # xtdb (10)
Made quite some releases (see #C015AL9QYH1 ) yesterday and just added bun compatibility:
$ time bunx --bun squint -e '(prn (mapv #(* % %) [1 2 3]))'
[1,4,9]
bunx --bun squint -e '(prn (mapv #(* % %) [1 2 3]))' 0.09s user 0.03s system 148% cpu 0.083 total
wondering if a squint/cherry plugin for bun could result in a excellent dev experience:
> Plugins intercept imports and perform custom loading logic: reading files, transpiling code, etc. They can be used to add support for additional file types, like .scss
or .yaml
. In the context of Bun’s bundler, plugins can be used to implement framework-level features like CSS extraction, macros, and client-server code co-location.
> From https://bun.sh/docs/runtime/plugins
Damn JS...
$ ./node_cli.js -e "(prn (or 0 1 2))"
1
Just got bitten by this when porting some CLJS to squintThis has bitten me many times.... I don't understand who could think to treat 0 as falsey
Python also does this. Also empty collections. So this prints true:
if not []:
print True