Re:Not Lisp again (2009)
by vats on Monday March 01, 2021 @03:17AM
(#26300631)
SICP language in racket lacks 1+ and -1+ (increment and decrement), last I checked. So it does still need some modification.
[ Parent
| on HN ]
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.