Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Loop Patterns (duke.edu)
6 points by dunk010 on Oct 9, 2009 | hide | past | favorite | 1 comment


Look at the mother of all iteration constructs, the Common Lisp LOOP macro for fancy it could really get. Scroll down here and look at the dense code example in the middle of the screen:

http://gigamonkeys.com/book/loop-for-black-belts.html

for its specification:

http://www.lispworks.com/documentation/HyperSpec/Body/m_loop...

An alternative, the ITERATE macro:

http://common-lisp.net/project/iterate/doc/index.html




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

Search: