RosettaCodeData/Task/Loops-N-plus-one-half/ACL2/loops-n-plus-one-half.acl2
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

6 lines
221 B
Text

(defun print-list (xs)
(progn$ (cw "~x0" (first xs))
(if (endp (rest xs))
(cw (coerce '(#\Newline) 'string))
(progn$ (cw ", ")
(print-list (rest xs))))))