Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Higher-Order Functions
(edit)
Revision as of 00:50, 12 July 2013
No change in size
,
00:50, 12 July 2013
correct new signature
| '''Summary'''
|The ''left fold'' traverses the sequence from the left.
The query <code>fn:fold-left(
$f
1 to 5
, 0,
1 to 5
$f
)</code> for example would be evaluated as:
<pre class="brush:xquery">
$f($f($f($f($f(0, 1), 2), 3), 4), 5)
Dirk
administrator, editor
28
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Table of Contents
Recent Changes
Random Page
PDF Version
Tools
Special pages
Printable version