# ZZ ..< ZZ -- sequences of consecutive integers

## Synopsis

• Operator: ..<
• Usage:
s ..< t
• Inputs:
• Outputs:
• , the sequence of consecutive integers from s to t, not including the endpoint

## Description

 i1 : 0 ..< 10 o1 = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) o1 : Sequence

The indices valid for a list of length n can be obtained with 0 ..< n.

 i2 : x = {a,c,e,f} o2 = {a, c, e, f} o2 : List i3 : 0 ..< #x o3 = (0, 1, 2, 3) o3 : Sequence i4 : apply(0 ..< #x, i -> x#i) o4 = (a, c, e, f) o4 : Sequence

## Ways to use this method:

• ZZ ..< ZZ -- sequences of consecutive integers