Minilisp.pm/t/unless.t
MadMaurice 7f1283eecc Improve bool system
lisp has true in form of t and false in form of nil
2021-04-05 00:06:49 +02:00

5 lines
141 B
Raku

(expect "unless - true condition"
(null (unless t 'fail)))
(expect "unless - false condition"
(equal 'ok (unless nil 'ok)))