Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: