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

Oops, didn't read the problem. Yes, as other commenters say, you should expand into a call to a recursive function, not an expression that gets expanded recursively.

If you were writing this for real you'd expand into a do, so this problem is somewhat artificially difficult.



> Oops, didn't read the problem.

You wrote the problem. ;)


Thanks, I figured it out now.




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

Search: