[xquery-talk] lazy evaluation of sequences

Ihe Onwuka ihe.onwuka at gmail.com
Fri Mar 14 06:32:33 PST 2014

Well (4,5 div 0)[1] on Saxon gives 4. Hurray.

(4,5 div 0)[1] in eXist gives divide by zero error. Boo.

So the answer seems to be it depends.

On Fri, Mar 14, 2014 at 1:59 PM, Ihe Onwuka <ihe.onwuka at gmail.com> wrote:
> does (expr1, expr2,.......,exprN)[1] and variants thereof evaluate
> lazily. Is this implementation dependent.

More information about the talk mailing list