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

Wrap in another function.

ETA: I'm amused by how easily the LISP philosophy applies here: any problem can be solved with enough lambdas.



I know, right? I was writing this complex OO solution to a problem in Python, then I realized I could just do it with a function returning a closure.




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

Search: