30 Jan
2010
30 Jan
'10
22:46
Hallo, On Sat, Jan 30, 2010 at 8:41 PM, joe tex <joetex1@gmail.com> wrote:
I am a scheme newbie currently reading "The Little Schemer" The book provides the function for atom as follows.
------- atom.scm---------------- (define atom? (lambda (x) (and (not (pair? x)) (not null? x)))) --------------------------------
However when I use it with Gambit, it shows the following error message. as follows:
Change (not null? x) to (not (null? x)). Cheers, -- -alex @asandroq http://www.ventonegro.org/