Skip to content

Commit

Permalink
Add some of the easier/smaller R6RS libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
dpk committed Oct 18, 2024
1 parent 0aa9260 commit 472c728
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/rnrs/control.sld
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(library (rnrs control)
(export when unless
do
case-lambda)
(import (scheme base)
(scheme case-lambda)))
4 changes: 4 additions & 0 deletions lib/rnrs/eval.sld
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(library (rnrs eval)
(export eval
environment)
(import (scheme eval)))
3 changes: 3 additions & 0 deletions lib/rnrs/mutable-pairs.sld
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(library (rnrs mutable-pairs)
(export set-car! set-cdr!)
(import (scheme base)))
4 changes: 4 additions & 0 deletions lib/rnrs/mutable-strings.sld
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(library (rnrs mutable-strings)
(export string-set!
string-fill!)
(import (scheme base)))
4 changes: 4 additions & 0 deletions lib/rnrs/programs.sld
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(library (rnrs programs)
(export command-line
exit)
(import (scheme process-context)))
5 changes: 5 additions & 0 deletions lib/rnrs/sorting.sld
Original file line number Diff line number Diff line change
@@ -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)))

0 comments on commit 472c728

Please sign in to comment.