Minilisp.pm/t/when.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
133 B
Raku

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