3e5de399a7
I've just moved the relevant code into the functional-tests dir.
20 lines
567 B
Scheme
20 lines
567 B
Scheme
;; Copyright (c) 2009 Derick Eddington. All rights reserved.
|
|
;; Licensed under an MIT-style license. My license is in the file
|
|
;; named LICENSE from the original collection this file is distributed
|
|
;; with. If this file is redistributed with some other collection, my
|
|
;; license must also be included.
|
|
|
|
#!r6rs
|
|
(library (srfi s8 receive)
|
|
(export receive)
|
|
(import (rnrs))
|
|
|
|
(define-syntax receive
|
|
(syntax-rules ()
|
|
[(_ formals expression b b* ...)
|
|
(call-with-values
|
|
(lambda () expression)
|
|
(lambda formals b b* ...))]))
|
|
|
|
)
|