slide 45
Numeric Ranges Inside Sequences
Construct a sequence of consecutive integers
expression
to
expression
Each expression must evaluate to an integer
Result is empty sequence if
either expression evaluates empty or
first integer is greater than the second
(10, 1 to 3)
Evaluates to
(10, 1, 2, 3)
1 to count($some-sequence)
Returns the position number of each item in the sequence
$some-sequence
reverse(5 to 10)
Evaluates to
(10, 9, 8, 7, 6, 5)