(λ. borkdude) on Nostr: Porting Advent of Code 2023 Day 3 from #clojure to #squintcljs was a bit more ...
Porting Advent of Code 2023 Day 3 from #clojure to #squintcljs was a bit more challenging since most solutions used maps with vectors as keys which JS objects don't handle well. TC39 immutable tuples + js/Map to the rescue!
https://squint-cljs.github.io/squint/?boilerplate=https%3A%2F%2Fgist.githubusercontent.com%2Fborkdude%2Fcf94b492d948f7f418aa81ba54f428ff%2Fraw%2F3e871513ab6f2462841f75fc99668f841f33dabb%2Faoc_ui.cljs&repl=true&src=https://gist.githubusercontent.com/borkdude/2a8c4e9e3baf00ea3c5f86d4f817166d/raw/3d165c62b6041b1b76d13c2ca27318ad1ca74af6/aoc23_01.cljs
#clojurescript
https://squint-cljs.github.io/squint/?boilerplate=https%3A%2F%2Fgist.githubusercontent.com%2Fborkdude%2Fcf94b492d948f7f418aa81ba54f428ff%2Fraw%2F3e871513ab6f2462841f75fc99668f841f33dabb%2Faoc_ui.cljs&repl=true&src=https://gist.githubusercontent.com/borkdude/2a8c4e9e3baf00ea3c5f86d4f817166d/raw/3d165c62b6041b1b76d13c2ca27318ad1ca74af6/aoc23_01.cljs
#clojurescript