Navigation
|
Synopsis Greater 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 greater than that element in Exp2 .
Otherwise the result if false .
Examples rascal><1, "def", true> > <1, "abc", true>;
bool: true
|