diff options
author | Keith Packard <keithp@keithp.com> | 2016-11-15 20:25:03 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-02-20 11:16:51 -0800 |
commit | 472ecec64213e6c37b588d69ca2e8efd5e9abe36 (patch) | |
tree | b8666c108465e698f6198f8d7f493deb905a69cd /src | |
parent | 5161f6d78647591cc7ab8774a04edbc68a09f689 (diff) |
altos/lisp: remove nth from hanoi.lisp
It's now in ROM.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/test/ao_lisp_os.h | 2 | ||||
-rw-r--r-- | src/test/hanoi.lisp | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/test/ao_lisp_os.h b/src/test/ao_lisp_os.h index 8b9c1475..dedcca28 100644 --- a/src/test/ao_lisp_os.h +++ b/src/test/ao_lisp_os.h @@ -23,7 +23,7 @@ #include <time.h> #define AO_LISP_POOL_TOTAL 3072 -#define AO_LISP_SAVE +#define AO_LISP_SAVE 1 extern int ao_lisp_getc(void); diff --git a/src/test/hanoi.lisp b/src/test/hanoi.lisp index 66a8d04b..aece2ba0 100644 --- a/src/test/hanoi.lisp +++ b/src/test/hanoi.lisp @@ -106,12 +106,6 @@ ) ) -(defun nth (list n) - (cond ((= n 0) (car list)) - ((nth (cdr list) (1- n))) - ) - ) - ; Replace a stack in the list of stacks ; with a new value |