* Added SRFI-8
This commit is contained in:
parent
4fba303ef4
commit
94ff7fcc6e
|
@ -0,0 +1,10 @@
|
||||||
|
(library (SRFI-8)
|
||||||
|
(export receive)
|
||||||
|
(import (ikarus))
|
||||||
|
;;; these SRFIs are great for filling your "features"
|
||||||
|
;;; page
|
||||||
|
(define-syntax receive
|
||||||
|
(syntax-rules ()
|
||||||
|
((receive formals expression body body* ...)
|
||||||
|
(call-with-values (lambda () expression)
|
||||||
|
(lambda formals body body* ...))))))
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env ikarus --r6rs-script
|
||||||
|
(import (SRFI-8))
|
Loading…
Reference in New Issue