Hi all, I'm Styx. I was recently recommended the book, "The Little Schemer" which, through a little digging, has led me to look into learning Arc as my first Lisp. I've hit a snag, however. TLS assumes that you're running a version of scheme, which I suppose Arc is in a way. Would you consider the two languages close enough that I might complete a book on scheme in Arc? If so, my next problem is that TLS asks that I define a function "atom?" Which looks like this: (define atom?
(lambda (x)
(and (not (pair? x)) (not (null? x)))))
Obviously I would switch out "define" with "def" but what about the rest?Any assistance is much appreciated. :) EDIT:
For clarity, the book requires that the function "atom?" operate in such a way that: (atom? (quote ()))
return false (or nil, heh.)EDIT:EDIT:
I also read in one of your recent threads that you guys might be starting a slack channel? If so, I'd love to pester you guys with my noob questions. :P |