On 8/30/06, Andy Armstrong <[EMAIL PROTECTED]> wrote:
Sorry, I've missed something here - how is your 'framework' superior to a simple queue based approach?
it demonstrates tail-recursion, as such, and is not intended to be a superior approach to other practices. I just realized that goto sub is a better framework for implementing such things, anyway: # perl -wle 'sub f{ f()}; f()' Deep recursion on subroutine "main::f" at -e line 1. Out of memory! # perl -wle 'sub f{ goto &f}; f()' ^C #
Oh and I can't believe you've only skimmed HOP - it's a superb book that should be mandatory reading if this is an area you're interested in.
so was the textbook in Lisp class.