From 12d59eb84fb7f8e9eec38dbf087f589aaaa39c69 Mon Sep 17 00:00:00 2001 From: Logen Kain Date: Sat, 22 Jul 2017 14:52:32 -0700 Subject: [PATCH] lisp:landoflisp: added 'random practice' --- lisp/land-of-lisp/random_practice/list-eater/list-eater.cl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lisp/land-of-lisp/random_practice/list-eater/list-eater.cl diff --git a/lisp/land-of-lisp/random_practice/list-eater/list-eater.cl b/lisp/land-of-lisp/random_practice/list-eater/list-eater.cl new file mode 100644 index 0000000..13d01a8 --- /dev/null +++ b/lisp/land-of-lisp/random_practice/list-eater/list-eater.cl @@ -0,0 +1,7 @@ +(defun print-list(lst) + (if lst + (progn + (print(car lst)) + (print-list(cdr lst))) + 'DONE)) +