[Bug 5672] Evaluation of treat as


------- Comment #4 from mike@saxonica.com  2008-05-01 18:28 -------
Lazy evaluation of function parameters is an absolutely normal technique in
functional programming languages and is essential for good performance. Users
expect to be able to write a function like

declare function first($seq as item()*) as item() {

and have it behave the same as if they wrote $seq[1] directly.

Received on Thursday, 1 May 2008 18:29:28 UTC