>From pg. 399 in SICP:

An example that exploits lazy evaluation is the definition of a procedure
unless

(define (unless condition usual-value exceptional-value)
  (if condition exceptional-value usual-value))

===

Huh?  For both applicative and normal order, wouldn't both
exceptional-value AND usual-value be evaluated, or not, depending on
condition?

Michael
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to