mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 22:29:16 +02:00
adding srfi-55 (trivial with chibi module syntax)
This commit is contained in:
parent
f3901c1957
commit
19d5d3913b
1 changed files with 9 additions and 0 deletions
9
lib/srfi/55.module
Normal file
9
lib/srfi/55.module
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
(define-module (srfi 55)
|
||||
(export require-extension)
|
||||
(import-immutable (scheme))
|
||||
(body
|
||||
(define-syntax require-extension
|
||||
(syntax-rules ()
|
||||
((require-extension (prefix mod ...))
|
||||
(begin (import (prefix mod) ...)))))))
|
Loading…
Add table
Reference in a new issue