[r6rs-discuss] Now, where were we?

Alan Watson alan at alan-watson.org
Mon Feb 23 12:17:01 EST 2009


> Additionally, the IEEE standard supports the REPL at the cost of
> making the following program "an error" (in the technical sense, at
> least on some implementations [1]), rather than giving it a semantics:
>
> (define (even? x) (or (zero? x) (odd? (- x 1))))
> (define (odd? x) (and (not (zero? x)) (even? (- x 1))))

Yeah, but you know how to fix this using set! in IEEE Scheme and there  
are ways to fix it that do not require set. Macros are the real problem.

Alan
-- 
Alan Watson
http://www.alan-watson.org/




More information about the r6rs-discuss mailing list