From 5a64e1706c57b41a8b4199387efd081d6aabaf08 Mon Sep 17 00:00:00 2001 From: paltherr Date: Fri, 18 Jul 2003 09:29:13 +0000 Subject: - Merged Course-2002-11 into lisp --- test/files/run/lisp.check | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'test/files/run/lisp.check') diff --git a/test/files/run/lisp.check b/test/files/run/lisp.check index 7a6c59ce7c..8a61dd7315 100644 --- a/test/files/run/lisp.check +++ b/test/files/run/lisp.check @@ -1,13 +1,26 @@ +(lambda (x) (+ (* x x) 1)) +(lambda (x) (+ (* x x) 1)) + +( '(1 2 3)) = (1 2 3) +(car '(1 2 3)) = 1 +(cdr '(1 2 3)) = (2 3) +(null? '(2 3)) = 0 +(null? '()) = 1 + +faculty(10) = 3628800 +faculty(10) = 3628800 +foobar = ("a" "bc" "def" "z") + List('lambda,List('x),List('+,List('*,'x,'x),1)) (lambda (x) (+ (* x x) 1)) -( '(1 2 3)) = List(1,2,3) +( '(1 2 3)) = (1 2 3) (car '(1 2 3)) = 1 -(cdr '(1 2 3)) = List(2,3) +(cdr '(1 2 3)) = (2 3) (null? '(2 3)) = 0 (null? '()) = 1 faculty(10) = 3628800 faculty(10) = 3628800 -foobar = List(a,bc,def,z) +foobar = ("a" "bc" "def" "z") -- cgit v1.2.3