W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2016

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 17 May 2016 08:46:01 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29628-523-fHVC6nLRC5@http.www.w3.org/Bugs/Public/>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 17 May 2016 08:46:11 UTC