News for hackers. Stuff that matters.
Re:μLithp - a Lisp in 27 lines of Ruby by wonderzombie on Saturday January 05, 2013 @06:37PM (#5014493)
I don't believe recur works with mutual recursion. I wish I understood mutual recursion better, frankly. Got any pointers about how one might use it in practice? In general my Lisp-fu could use a lot of improvement.

I would call it more like Ruby vs. Python — c'mon, perl? that's just mean — but yes, we're quibbling. :)

Re:μLithp - a Lisp in 27 lines of Ruby by chongli on Sunday January 06, 2013 @11:59AM (#5016789)
>Got any pointers about how one might use it in practice?

The meta-circular evaluator is a prime example of mutual recursion. It consists of two functions, eval and apply, which call each other in a circular fashion until a result is reached.