Entertainment > Reading >
http://www.ccs.neu.edu/home/matthias/BTLS/
A programmer's book for the Scheme implementation of Lisp.
Ack!: Unfortunately, it's not possible for me to read this book. It's not geared towards people who are new to Lisp so it's impossible to comprehend in any way. I don't want to learn lisp, I want to learn the problem solving skills touted for this book. Oh well...
I gave it away, though to whom I cannot recall.
The Little Schemer - 4th Edition
by Daniel P. Friedman and Matthias Fellesein
Foreword by Gerald J. Sussman
ISBN 0-262-56099-2 (pbk: alk. paper)
This book was recommended to me when I was a new programmer. Unfortunately, it's entirely useless. It wasn't geared towards problem solving or to people who are new to Lisp, so there's nothing I could do except read the introduction and look at the pictures.
To start ∞
Scheme ∞
PCLinuxOS has the umb-scheme package.
To work with Scheme, you need to define atom?, sub1 and add1:
(define atom? (lambda (x) (and (not (pair? x)) (not (null? x)))))
.. this returns "atom?" for me.
To find out whether your Scheme has the correct definition of atom?, try
(atom? (quote ()))
and make sure it returns #f.
... this returns
Error: `and' is undefined.
Lisp ∞
PCLinuxOS has the clisp (Common Lisp) package.
(defun atom? (x) (not (listp x)))
... this returns
ATOM?