inline2.scm 705 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. (import (scheme base)
  2. (scheme write))
  3. (define (bluh)
  4. (define (foo c) #f)
  5. (define (bar f) #f)
  6. (define (baz n) 2)
  7. (define (snoo)
  8. (bar (lambda (i) #f))
  9. (foo #f))
  10. (define (blee)
  11. (let loop ((ret 0))
  12. (foo (lambda () (loop 0)))))
  13. (define (pup)
  14. (let ((l (make-vector 288)))
  15. (bar (lambda (i) (vector-set! l i 5)))
  16. (blee)))
  17. (define (blerg)
  18. (let* ((res (snoo)))
  19. (blee)))
  20. (let* ((t (baz 2)))
  21. (let loop ((res
  22. (case t
  23. ((0) 5)
  24. ((1) (pup))
  25. ((2) (blerg))
  26. (else
  27. #f))))
  28. #f)))
  29. (format #t "bluh -> ~w~%" (bluh))
  30. ;; Output: bluh -> #f