==Arrow Operator==
The arrow operator applies a function to an item. The item is used as the first argument to the function. It is introduced with the characters {{Code|<code>=>}}</code>, and it is followed by the function to be called. If {{Code|<code>$i}} </code> is an item and {{Code|<code>f()}} </code> is a function, then {{Code|<code>$i=>f()}} </code> is equivalent to {{Code|<code>f($i)}}</code>, and {{Code|<code>$i=>f($j)}} </code> is equivalent to {{Code|<code>f($i, $j)}}</code>. This is further illustrated by an example:
<pre class="brush:xquery">