As an experiment, I've hooked up core.match to bb (and fixed some bugs along the way):
$ ./bb -e "(require '[clojure.core.match :as m]) (m/match [0 1 2 3] [0 a b 3] [a b])"
[1 2]
All the core.match tests are now passing.
See https://github.com/babashka/babashka/issues/594#issuecomment-761816137It does add 2mb to the binary (1.73 to be precise). May be worth it...?
I vote definitely worth it. core.match is so nice that it feels more like a valuable language feature than just a library
Please upvote the issue