[xquery-talk] XQuery Style Conventions
till.westmann at bea.com
Sat Oct 29 16:30:32 PDT 2005
On Oct 29, 2005, at 12:54 AM, Per Bothner wrote:
> Till Westmann wrote:
>> As a FLWOR expression can have any number of for and let clauses
>> but only one of each of the other clauses, all the expressions
>> that are evaluated based on the variable bindings of the for and
>> let clauses are evaluated at the same level. That level is given
>> by the number of for clauses in the FLWOR.
> In terms of nesting (i.e. block structure) there is no difference
> between a 'let' and a 'for' clause.
I agree and that is what the grammar says.
I was answering (and disagreeing with) the point that Martin made,
that the semantic difference between for and let should lead to
indentation of "nested" for clauses within a single FLWOR expression.
More information about the talk