Navigation
Synopsis Strict subset operator on set values.
Syntax Exp1 < Exp2
Types
Exp1 Exp2 Exp1 < Exp2
set[T1] set[T2] bool
Description Yields true if the value of Exp1 is a strict subset of the value of Exp2, and false otherwise.
Examples
rascal>{1, 2, 3} < {1, 2, 3, 4};
bool: true
rascal>{1, 2, 3} < {1, 3, 4};
bool: false
rascal>{1, 2, 3} < {1, 2, 3};
bool: false

Questions
Question [1].
The type of {"D", "V", "Jar Jar Binks", "Wasabi", "Lavender"} < {"Mango", "Countess Von Backwards"} is

Question [2].
{59, 82, 6, 31} < {49,82,54,59,61,31,6,38} == 

Question [3].
{"C", "Luke Skywalker", "Melon", "Curry", "G"} < {"C", "Luke Skywalker", "Melon", "Curry", "G"} == 



Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.