Fork me on GitHub
#babashka
<
2021-01-17
>
borkdude13:01:34

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-761816137

borkdude13:01:21

It does add 2mb to the binary (1.73 to be precise). May be worth it...?

holmdunc15:01:36

I vote definitely worth it. core.match is so nice that it feels more like a valuable language feature than just a library

borkdude15:01:55

Please upvote the issue