3 ms·
Clojure's core.match is implemented as a macro with almost exactly the technique you mention. It spits out a decision tree built out of conds.
by chc 15y ago
Clojure's core.match is implemented as a macro with almost exactly the technique you mention. It spits out a decision tree built out of conds.