Navigation
Synopsis 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 SetExp1 is a subset of the value of SetExp2, and false otherwise.
Examples
rascal>{1, 2, 3} <= {1, 2, 3, 4};
bool: true
rascal>{1, 2, 3} <= {1, 2, 3};
bool: true

Questions
Question [1].
The type of {7.0192239390980040, 4.4810882020266680, -19.299939760052011720, 4.2096285301842720} <= {14.2772902699829440, -7.42919726112377880} is

Question [2].
{90} <= {3,57,58,90} == 

Question [3].
{"Sesame", "Emperor Palpatine", "Anakin Skywalker", "Anise", "Two-Headed Monster"} <= {"Sesame", "Emperor Palpatine", "Anakin Skywalker", "Anise", "Two-Headed Monster"} == 



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.