Looping: DOLIST
> (defun print-on-separate-lines (lst)
"Prints LST with one line per element."
(dolist (elt lst nil)
(print elt) ) )
PRINT-ON-SEPARATE-LINES
> (print-on-separate-lines
'(lunch around the corner) )
LUNCH
AROUND
THE
CORNER
NIL
>
Previous slide
Next slide
Back to first slide
View graphic version