From 994adc7a47cbf3cbf6041eca7430273f8018de08 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 15 Nov 2016 10:32:36 -0800 Subject: altos/lisp: remove duplicate 'length' lambda from hanoi example This function is now a builtin. Signed-off-by: Keith Packard --- src/test/hanoi.lisp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/test') diff --git a/src/test/hanoi.lisp b/src/test/hanoi.lisp index b84b8174..66a8d04b 100644 --- a/src/test/hanoi.lisp +++ b/src/test/hanoi.lisp @@ -62,14 +62,6 @@ ) ) -; This should probably be included in the rom image... - -(defun length (list) - (cond (list (1+ (length (cdr list)))) - (0) - ) - ) - ; Position of the top of the stack on the screen ; Shorter stacks start further down the screen -- cgit v1.2.3