Navigation
Synopsis Equality on lists.
Syntax Exp1 == Exp2
Types
Exp1 Exp2 Exp1 == Exp2
list[T1] list[T2] bool
Description Yields true if both arguments are equal lists and false otherwise.
Examples
rascal>[1, 2, 3] == [1, 2, 3];
bool: true
rascal>[1, 2, 3] == [3, 2, 1];
bool: false

Questions
Question [1].
The type of [|file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>), |file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>), |file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>), |file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>)] == [|file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>), |file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>), |file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>), |file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>), |file:///home/paulk/pico.trm|(0,1,<2,3>,<4,5>)] is

Question [2].
(["Tibor", "Pineapple"] == ["Tibor", "Pineapple"]) == 

Question [3].
([57, 22, 5, 71] == [71,5,22,57]) == 



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.