3 ms·
Common Lisp does not use explicit returns much, since every expression returns one (or more) values. (lambda () (cond ((foo) x) ((bar) y)
by lispm 9y ago
Common Lisp does not use explicit returns much, since every expression returns one (or more) values.
(lambda ()
(cond ((foo) x)
((bar) y)
(t z)))
Such a conditional like COND returns the value(s) of the last form in a clause -> here either the value of x, y or z.