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

Same thing, but the iterator is instead hidden inside the language implementation. `foreach` is already a quite general construct, and iterators are the way to extend them. However, I can see the benefit of designing a library to help implement more intricate iterators.

Ceterum censeo this would be a family of simple macros in LISP.



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

Search: