![]() |
| ||||||
Navigation |
Synopsis The strict super list operator on lists.
Syntax
Exp1 > Exp2
Types
Description Yields
true if the value of Exp2 is a strict sublist of the value of Exp1 , and false otherwise.
Examples
rascal>[1, 2, 3, 4] > [1, 2, 3]; bool: true rascal>[1, 2, 3, 4] > [1, 2, 3, 4]; bool: false rascal>[1, 2, 3, 4] > [1, 2, 3]; bool: true rascal>[1, 2, 3, 4, 5] > [1, 3, 5] bool: true Questions
Question [1].
![]() ![]()
Question [2].
![]() ![]()
Question [3].
![]() ![]() ![]() |