Showing posts with label For loop. Show all posts
Showing posts with label For loop. Show all posts

Wednesday, October 26, 2016

CLISP: For loop Example

Command:

$ cat for_loop.lisp


Result:

(loop for x in '(hello world 123)
      do (print x))


Command:

$ clisp for_loop.lisp


Result:

HELLO
WORLD
123