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

> Structural recursion (folds) is to general recursion (let rec) as the "for" loop is to the "while" loop.

So, they are strictly equivalent? </Clanguage>



This notion of "for" loop is more a notion of "foreach ... in" than the C version which is indeed equivalent to a while loop.




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

Search: