2022-10-27 22:32:20 +02:00
|
|
|
say (false and false),
|
|
|
|
say (false and true),
|
|
|
|
say (true and false),
|
|
|
|
say (true and true),
|
2022-09-25 03:19:00 +02:00
|
|
|
|
|
|
|
-- Test value preservation
|
2022-10-27 22:32:20 +02:00
|
|
|
say (0 and 5),
|
|
|
|
say (1 and 5),
|
|
|
|
say (false and 4),
|
|
|
|
say (true and 4),
|
2022-09-25 03:19:00 +02:00
|
|
|
|
|
|
|
-- Test lazy evaluation
|
2022-10-27 22:32:20 +02:00
|
|
|
call (say 32, false) and (say 42),
|
|
|
|
call (say 32, true) and (say 42),
|