This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-22
Channels
- # adventofcode (12)
- # announcements (6)
- # aws (3)
- # babashka (57)
- # beginners (40)
- # calva (17)
- # clojure-europe (10)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-uk (3)
- # clojuredesign-podcast (4)
- # cursive (3)
- # datomic (9)
- # etaoin (5)
- # fulcro (12)
- # hyperfiddle (42)
- # missionary (2)
- # off-topic (11)
- # reagent (6)
- # scittle (131)
- # squint (3)
- # tools-deps (4)
- # uncomplicate (1)
- # vscode (1)
My https://github.com/wevre/advent-of-code/blob/master/src/advent_of_code/2023/day_22_bricks.clj.
@UTFAPNRPT did you know that clojure 1.11 has update-keys/update-vals? not sure if that corresponds to your map-vals function exactly, just thought I'd mention it
https://github.com/zelark/AoC/blob/master/src/zelark/aoc_2023/day_22.clj I believe.
I do know of those, @U04V15CAJ but I don’t find myself using them often. Maybe I’m not good at recognizing opportunities to use them.
@UTFAPNRPT hah, sorry, I misremembered which solution used map-vals, but it was actually @U02P133R2SZ’s solution!
I had a long drive today and thought about the problem. I added some commentary to my https://github.com/wevre/advent-of-code/blob/master/src/advent_of_code/2023/day_22_bricks.clj (mostly for future me).