r7rs-tests/snow/srfi/8.scm

6 lines
184 B
Scheme

(define-syntax receive
(syntax-rules ()
((receive formals expression body ...)
(call-with-values (lambda () expression)
(lambda formals body ...)))))