[Bug 29628] 16.2.1 fn:for-each - proposal of more succinct rules

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29628

Abel Braaksma <abel.braaksma@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abel.braaksma@xs4all.nl

--- Comment #1 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
While I am not unsympathetic towards the proposed change, the original function
shows the recursive nature and is a common way in functional languages to
describe such higher order functions, this can be seen in many text books. 

Furthermore, I think it is good to show the tail-recursion, which is not
present in the map operator (though it begs the question, is the current
signature truly tail-recursive? I don't think so, as there is an embedded
function call in the final fn:for-each call, a let-return statement would
perhaps be better).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 17 May 2016 08:46:10 UTC