Login
User name:
Password:
Remember me 
Powered by BlogHarbor
Powered by BlogHarbor
Re: Re: Tail recursive functions
by Michael Kay
Yes: edge cases are always a pain when doing optimizations. The XQuery spec is a bit ambivalent about this: it gives a lot of license for rewrites to change the error behavior, but is a bit ambivalent about the effect on precision: the note in 3.5.1 about transitivity of value comparisons is essentially saying "we know there's a problem because value comparisons aren't precisely transitive [and therefore rewrites might change the result], and we're not telling you what to do about it". This one seems a similar case.
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