RosettaCodeData/Task/Logical-operations/Rascal/logical-operations-2.rascal

9 lines
127 B
Plaintext

rascal>logic(false, false);
a and b, is false
a or b, is false
a equivalent to b, is true
a implies b, is true
not a, true
ok