t-basic-contructs.scm 328 B

1234567891011121314151617
  1. ;;; Basic RnRS constructs.
  2. (and (eq? 2 (begin (+ 2 4) 5 2))
  3. ((lambda (x y)
  4. (and (eq? x 1) (eq? y 2)
  5. (begin
  6. (set! x 11) (set! y 22)
  7. (and (eq? x 11) (eq? y 22)))))
  8. 1 2)
  9. (let ((x 1) (y 3))
  10. (and (eq? x 1) (eq? y 3)))
  11. (let loop ((x #t))
  12. (if (not x)
  13. #t
  14. (loop #f))))