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

I think the author wants something like parametrized modules, but the idiomatic way to do it is to use vars created by (def) or (defn) with (binding) which gives you thread-local global variables.


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

Search: