8 ms·
Experimenting with exhaustive tagged-union support based on Clojure's defmulti. I think it might be better to go the other way, and have a pattern-matchey form
by escherize 1y ago
Experimenting with exhaustive tagged-union support based on Clojure's defmulti.
I think it might be better to go the other way, and have a pattern-matchey form generate the defmethods instead, but I need to gain tacit knowledge about it first.
https://github.com/escherize/clj-multimatch https://github.com/escherize/clj-multimatch