Login
User name:
Password:
Remember me 
Powered by BlogHarbor
Powered by BlogHarbor
Re: Re: Tail recursive functions
by Michael Kay
Thanks for the comment, Dimitre. Yes, I'll look into this. I need to think carefully about the implications for type-checking. It might just fall out, I'm not sure. (I think that if any run-time checking of the result of a function body is needed, then the function isn't tail-recursive by definition; so perhaps it's OK.) The only other difference is that the stack frame may need to be resized, and the stack frame map used by debuggers needs to be switched.
Post comment:
  Receive comment notifications for this article
Subject: 
Comment: 
Comment verification:

Please enter the text you see inside the graphic to post your comment:
This blog does not allow anonymous comments. Please provide your username and password along with your comment.
Login information:
Username: 
Password: 
If you would like to post contact information on your comment, please enter your information into the optional fields below:
Contact information:
URL:  example: http://yourdomain.com