Changes

Jump to navigation Jump to search
1 byte added ,  16:07, 11 September 2014
==Arrow Operator==
The arrow operator applies a function to an itema value. The item value is used as the first argument to the function. It is introduced with the characters <code>=></code>, and it is followed by the function to be called. If <code>$iv</code> is an item a value and <code>f()</code> is a function, then <code>$iv=>f()</code> is equivalent to <code>f($iv)</code>, and <code>$iv=>f($j)</code> is equivalent to <code>f($iv, $j)</code>. This is further illustrated by an example:
<pre class="brush:xquery">
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu