#clavascript search results
Immutability on the cheap with immer and #clavascript: (ns immer (:require ["immer$default" :as produce])) (def v1 {:a 1}) (def v2 (produce v1 #(assoc! % :b 2))) ;; will crash: ;; (def v3 (assoc! v2 :foo :bar)) (prn v1 v2 (= v1 v2)) Minified + bundled: 11kb. #clojurescript
Published a new version of #clavascript: matrix transposition using "apply map vector" works :) Let Advent of Code begin! #clojure #clojurescript
What if we would expose the associative protocol in #clavascript so you can bring your own immutable/persistent collections? 🤯 #clojure #clojurescript
Some #clavascript core functions have now been made lazy, built on JS iterators! github.com/clavascript/cl… #clojurescript #clojure
Produce a tiny self-contained executable (750kb) with #clavascript and QuickJS: github.com/clavascript/cl… #clojurescript #clojure
#clavascript advent of code: github.com/clavascript/ad… Already found quite a few bugs and missing core functions by doing #adventofcode 2021 part 1 and 2, but now it works: #clojurescript #clojure
assoc-in and assoc-in! have landed in #clavascript assoc-in! mutates in place, assoc-in returns new (shallow) copies. #clojurescript #clojure github.com/clavascript/cl… Thanks @corasaurus_vex!
A funny wtf moment I had with JavaScript coming primarily from #clojure, implementing group-by in #clavascript: const updateFn = fnil(conj_BANG_, []) const ret = {} for (const o in coll) { update_BANG_(ret, updateFn, o) } return ret; All values in ret would be the same... 1/2
What's the #clavascript community called? The enclava. 🥁 github.com/clavascript/cl…
#clavascript is a name I could not get used to. It is continuing as squint! github.com/squint-cljs/sq… #squintcljs #clojure #clojurescript
Holy crap... could I insert my #clavascript compiler here as a loader for `.cljs` files?
using #cherry_cljs at the moment because #clavascript lacks of macros and a few core functions
A demo with #clavascript and WindowJS The code is here: github.com/clavascript/cl… It does not use 1 single function from Clava's stdlib, all plain JS output. #clojurescript #clojure
#clavascript is a name I could not get used to. It is continuing as squint! github.com/squint-cljs/sq… #squintcljs #clojure #clojurescript
Machine learning in JS on Bun github.com/facebookresear… Could be interesting to use with #nbbjs (REPL), #cherrycljs or #clavascript #clojure #clojurescript
How long before we should start to port Calva to #clavascript? =)
Holy crap... could I insert my #clavascript compiler here as a loader for `.cljs` files?
Always a fan of your work. However I am failing to see the use case for #clavascript. Can you point out a few? Much appreciated!
Immutability on the cheap with immer and #clavascript: (ns immer (:require ["immer$default" :as produce])) (def v1 {:a 1}) (def v2 (produce v1 #(assoc! % :b 2))) ;; will crash: ;; (def v3 (assoc! v2 :foo :bar)) (prn v1 v2 (= v1 v2)) Minified + bundled: 11kb. #clojurescript
#clavascript advent of code: github.com/clavascript/ad… Already found quite a few bugs and missing core functions by doing #adventofcode 2021 part 1 and 2, but now it works: #clojurescript #clojure
A funny wtf moment I had with JavaScript coming primarily from #clojure, implementing group-by in #clavascript: const updateFn = fnil(conj_BANG_, []) const ret = {} for (const o in coll) { update_BANG_(ret, updateFn, o) } return ret; All values in ret would be the same... 1/2
A demo with #clavascript and WindowJS The code is here: github.com/clavascript/cl… It does not use 1 single function from Clava's stdlib, all plain JS output. #clojurescript #clojure
Some #clavascript core functions have now been made lazy, built on JS iterators! github.com/clavascript/cl… #clojurescript #clojure
looking forward to migrate to #clavascript, will get rid of clj->js/js->clj
using #cherry_cljs at the moment because #clavascript lacks of macros and a few core functions
Produce a tiny self-contained executable (750kb) with #clavascript and QuickJS: github.com/clavascript/cl… #clojurescript #clojure
What if we would expose the associative protocol in #clavascript so you can bring your own immutable/persistent collections? 🤯 #clojure #clojurescript
Although the exact syntax may change, #clavascript supports async/await: github.com/clavascript/cl… #clojure
Published a new version of #clavascript: matrix transposition using "apply map vector" works :) Let Advent of Code begin! #clojure #clojurescript
Some #clavascript core functions have now been made lazy, built on JS iterators! github.com/clavascript/cl… #clojurescript #clojure
Produce a tiny self-contained executable (750kb) with #clavascript and QuickJS: github.com/clavascript/cl… #clojurescript #clojure
What if we would expose the associative protocol in #clavascript so you can bring your own immutable/persistent collections? 🤯 #clojure #clojurescript
Immutability on the cheap with immer and #clavascript: (ns immer (:require ["immer$default" :as produce])) (def v1 {:a 1}) (def v2 (produce v1 #(assoc! % :b 2))) ;; will crash: ;; (def v3 (assoc! v2 :foo :bar)) (prn v1 v2 (= v1 v2)) Minified + bundled: 11kb. #clojurescript
#clavascript advent of code: github.com/clavascript/ad… Already found quite a few bugs and missing core functions by doing #adventofcode 2021 part 1 and 2, but now it works: #clojurescript #clojure
assoc-in and assoc-in! have landed in #clavascript assoc-in! mutates in place, assoc-in returns new (shallow) copies. #clojurescript #clojure github.com/clavascript/cl… Thanks @corasaurus_vex!
Something went wrong.
Something went wrong.
United States Trends
- 1. Broncos 54.6K posts
- 2. Bo Nix 15.2K posts
- 3. Geno 15.9K posts
- 4. Sean Payton 3,911 posts
- 5. Kenny Pickett 1,371 posts
- 6. #TNFonPrime 3,705 posts
- 7. Chip Kelly 1,643 posts
- 8. Bradley Beal 2,513 posts
- 9. Jalen Green 4,968 posts
- 10. Pete Carroll 1,335 posts
- 11. Jeanty 6,023 posts
- 12. Troy Franklin 2,290 posts
- 13. Daniel Carlson N/A
- 14. Thursday Night Football 5,864 posts
- 15. #LVvsDEN 3,984 posts
- 16. Brock Bowers 4,461 posts
- 17. #911onABC 25.4K posts
- 18. Ty Lue 1,126 posts
- 19. Al Michaels N/A
- 20. #criticalrolespoilers 3,300 posts