RosettaCodeData/Task/Singly-linked-list-Traversal/Common-Lisp/singly-linked-list-traversal-5.lisp
2023-07-01 13:44:08 -04:00

3 lines
90 B
Common Lisp

(loop for ref = list then (rest ref)
until (null ref)
do (print (first ref)))