implements (srfi 8)
This commit is contained in:
parent
0ce1f4af32
commit
5f4dcd331c
|
@ -0,0 +1,10 @@
|
||||||
|
(define-library (srfi 8)
|
||||||
|
(import (scheme base))
|
||||||
|
|
||||||
|
(define-syntax receive
|
||||||
|
(syntax-rules ()
|
||||||
|
((receive formals expression body ...)
|
||||||
|
(call-with-values (lambda () expression)
|
||||||
|
(lambda formals body ...)))))
|
||||||
|
|
||||||
|
(export receive))
|
Loading…
Reference in New Issue