lib-receive.scm 291 B

1234567891011121314151617
  1. (define-library (blerg)
  2. (export foo)
  3. (import (scheme base)
  4. (scheme write)
  5. (srfi 8))
  6. (begin
  7. (define (foo)
  8. (receive stuff (values 1 2)
  9. (write stuff)
  10. (newline)))))
  11. (import (scheme base)
  12. (blerg))
  13. (foo)
  14. ;; Output: (1 2)