Hacker News new | ask | show | jobs
by bmitc 1939 days ago
Windows is not even supported by MIT Scheme anymore.

There is also the #lang sicp for Racket that needs no modification from the code in the book, to my knowledge.

1 comments

SICP language in racket lacks 1+ and -1+ (increment and decrement), last I checked. So it does still need some modification.
Are those actually used in the book?

But if needed, the user can write:

    (define (1+ x) (+ x 1))
    (define (1- x) (- x 1))
Although, I think, add1 and sub1 are more common nowadays.
Pretty sure that example comes from the first edition. #lang sicp is made to work with the second edition I assume.