Navigation
|
Synopsis Less than operator on tuple values.
Syntax Exp1 < Exp2
Types Exp1 | Exp2 | Exp1 < Exp2 |
---|
tuple[ T11, T12, ... ] | tuple[ T21, T22, ... ] | bool |
Description Yields true if
- both tuples are not equal, and
- the left-most element in the tuple value of
Exp1 that differs from the corresponding element in the tuple value of Exp2 is less than that element in Exp2 .
Otherwise the result if false .
Examples rascal><1, "abc", true> < <1, "def", true>;
bool: true
|