mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
Add some of the easier/smaller R6RS libraries
This commit is contained in:
parent
0aa9260727
commit
472c728c46
6 changed files with 26 additions and 0 deletions
6
lib/rnrs/control.sld
Normal file
6
lib/rnrs/control.sld
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
(library (rnrs control)
|
||||||
|
(export when unless
|
||||||
|
do
|
||||||
|
case-lambda)
|
||||||
|
(import (scheme base)
|
||||||
|
(scheme case-lambda)))
|
4
lib/rnrs/eval.sld
Normal file
4
lib/rnrs/eval.sld
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
(library (rnrs eval)
|
||||||
|
(export eval
|
||||||
|
environment)
|
||||||
|
(import (scheme eval)))
|
3
lib/rnrs/mutable-pairs.sld
Normal file
3
lib/rnrs/mutable-pairs.sld
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
(library (rnrs mutable-pairs)
|
||||||
|
(export set-car! set-cdr!)
|
||||||
|
(import (scheme base)))
|
4
lib/rnrs/mutable-strings.sld
Normal file
4
lib/rnrs/mutable-strings.sld
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
(library (rnrs mutable-strings)
|
||||||
|
(export string-set!
|
||||||
|
string-fill!)
|
||||||
|
(import (scheme base)))
|
4
lib/rnrs/programs.sld
Normal file
4
lib/rnrs/programs.sld
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
(library (rnrs programs)
|
||||||
|
(export command-line
|
||||||
|
exit)
|
||||||
|
(import (scheme process-context)))
|
5
lib/rnrs/sorting.sld
Normal file
5
lib/rnrs/sorting.sld
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
(library (rnrs sorting)
|
||||||
|
(export (rename list-stable-sort list-sort)
|
||||||
|
(rename vector-stable-sort vector-sort)
|
||||||
|
(rename vector-stable-sort! vector-sort!))
|
||||||
|
(import (srfi 132)))
|
Loading…
Add table
Reference in a new issue