WHEN
(define-syntax when
(syntax-rules ()
((_ condition form ...)
(if condition (begin form ...)) )
) )
> (define n 2)
> (when (= n 2) (display n)(newline))
2
Previous slide
Next slide
Back to first slide
View graphic version