<<
Functions and Patterns
>>
In XQuery each parameter is a sequence.
Suggest instead: Parameter list is a sequence.
Combines
apply
and
call-with-values
.
Needs syntax to take apart parameter sequence.
Using patterns (as in ML etc) is convenient.
Seems promising: see XDuce/CDuce/CQL family.