RosettaCodeData/Task/Short-circuit-evaluation/PicoLisp/short-circuit-evaluation.l
2023-07-01 13:44:08 -04:00

14 lines
190 B
Text

(de a (F)
(msg 'a)
F )
(de b (F)
(msg 'b)
F )
(mapc
'((I J)
(for Op '(and or)
(println I Op J '-> (Op (a I) (b J))) ) )
'(NIL NIL T T)
'(NIL T NIL T) )