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

Didn't know about ABCL :)

You have defprotocol to dispatch based on types in clojure. There's deftype to dynamically create classes and Java has reflection to begin with. You can call .getClass at runtime (which is what the type function does).



Thanks




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

Search: