#clavascript search results

Made a string with clavascript/string.js: #clavascript

borkdude's tweet image. Made a string with clavascript/string.js:

#clavascript

Converting between Map and object can be done using into: #clavascript

borkdude's tweet image. Converting between Map and object can be done using into:

#clavascript

#cherry_cljs #clavascript WIP with small toy project, looks very promising.

ArtemMedeu's tweet image. #cherry_cljs #clavascript WIP with small toy project, looks very promising.

Try #clavascript. It auto-exports every "var" unless private ;).

borkdude's tweet image. Try #clavascript. It auto-exports every "var" unless private ;).

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

borkdude's tweet image. 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

borkdude's tweet image. 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

borkdude's tweet image. 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

borkdude's tweet image. 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

borkdude's tweet image. 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

borkdude's tweet image. #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!

borkdude's tweet image. 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…


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


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? =)


Try #clavascript. It auto-exports every "var" unless private ;).

borkdude's tweet image. Try #clavascript. It auto-exports every "var" unless private ;).

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

borkdude's tweet image. 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

Made a string with clavascript/string.js: #clavascript

borkdude's tweet image. Made a string with clavascript/string.js:

#clavascript

#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

borkdude's tweet image. #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


Converting between Map and object can be done using into: #clavascript

borkdude's tweet image. Converting between Map and object can be done using into:

#clavascript

Some #clavascript core functions have now been made lazy, built on JS iterators! github.com/clavascript/cl… #clojurescript #clojure

borkdude's tweet image. 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


#cherry_cljs #clavascript WIP with small toy project, looks very promising.

ArtemMedeu's tweet image. #cherry_cljs #clavascript WIP with small toy project, looks very promising.

Produce a tiny self-contained executable (750kb) with #clavascript and QuickJS: github.com/clavascript/cl… #clojurescript #clojure

borkdude's tweet image. 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

borkdude's tweet image. What if we would expose the associative protocol in #clavascript so you can bring your own immutable/persistent collections? 🤯

#clojure #clojurescript

No results for "#clavascript"

#cherry_cljs #clavascript WIP with small toy project, looks very promising.

ArtemMedeu's tweet image. #cherry_cljs #clavascript WIP with small toy project, looks very promising.

Made a string with clavascript/string.js: #clavascript

borkdude's tweet image. Made a string with clavascript/string.js:

#clavascript

Converting between Map and object can be done using into: #clavascript

borkdude's tweet image. Converting between Map and object can be done using into:

#clavascript

Although the exact syntax may change, #clavascript supports async/await: github.com/clavascript/cl… #clojure

borkdude's tweet image. 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

borkdude's tweet image. 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

borkdude's tweet image. 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

borkdude's tweet image. Produce a tiny self-contained executable (750kb) with #clavascript and QuickJS:

github.com/clavascript/cl…

#clojurescript #clojure

Try #clavascript. It auto-exports every "var" unless private ;).

borkdude's tweet image. Try #clavascript. It auto-exports every "var" unless private ;).

What if we would expose the associative protocol in #clavascript so you can bring your own immutable/persistent collections? 🤯 #clojure #clojurescript

borkdude's tweet image. 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

borkdude's tweet image. 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

borkdude's tweet image. #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!

borkdude's tweet image. 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!

Loading...

Something went wrong.


Something went wrong.


United States Trends