about summary refs log tree commit diff stats
path: root/impl/r7rs.scm
diff options
context:
space:
mode:
authorCase Duckworth2023-08-13 21:29:44 -0500
committerCase Duckworth2023-08-13 21:29:44 -0500
commit02f8dbf330ba9e65cc381a0ff975211944d86a4a (patch)
tree80ba7d989f50e12289b427b4ca6c140066df7436 /impl/r7rs.scm
parentMove files around (diff)
downloadchicanery-02f8dbf330ba9e65cc381a0ff975211944d86a4a.tar.gz
chicanery-02f8dbf330ba9e65cc381a0ff975211944d86a4a.zip
Moved things around (pt 2)
Diffstat (limited to 'impl/r7rs.scm')
-rw-r--r--impl/r7rs.scm84
1 files changed, 84 insertions, 0 deletions
diff --git a/impl/r7rs.scm b/impl/r7rs.scm new file mode 100644 index 0000000..b1a2d5c --- /dev/null +++ b/impl/r7rs.scm
@@ -0,0 +1,84 @@
1;;; chicanery/impl/r7rs --- for r7rs-compliant implementations
2
3(import (scheme base))
4(import (scheme case-lambda))
5(import (scheme char))
6(import (scheme complex))
7(import (scheme cxr))
8(import (scheme eval))
9(import (scheme file))
10(import (scheme inexact))
11(import (scheme lazy))
12(import (scheme load))
13(import (scheme process-context))
14(import (scheme read))
15(import (scheme repl))
16(import (scheme time))
17(import (scheme write))
18
19(export * + - / < <= = > >= abs acos and angle #;append apply asin
20 assoc assq assv atan begin binary-port? boolean=? boolean? bytevector
21 bytevector-append bytevector-copy bytevector-copy! bytevector-length
22 bytevector-u8-ref bytevector-u8-set! bytevector? caaaar caaadr caaar
23 caadar caaddr caadr caar cadaar cadadr cadar caddar cadddr caddr cadr
24 call-with-current-continuation call-with-input-file
25 call-with-output-file call-with-port call-with-values call/cc car
26 case case-lambda cdaaar cdaadr cdaar cdadar cdaddr cdadr cdar cddaar
27 cddadr cddar cdddar cddddr cdddr cddr cdr ceiling char->integer
28 char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=?
29 char-ci>? char-downcase char-foldcase char-lower-case? char-numeric?
30 char-ready? char-upcase char-upper-case? char-whitespace? char<=?
31 char<? char=? char>=? char>? char? close-input-port close-output-port
32 close-port command-line complex? cond cond-expand cons cos
33 current-error-port current-input-port current-jiffy
34 current-output-port current-second define define-record-type
35 define-syntax define-values delay delay-force delete-file denominator
36 digit-value display do dynamic-wind emergency-exit environment
37 eof-object eof-object? eq? equal? eqv? error error-object-irritants
38 error-object-message error-object? eval even? exact
39 exact-integer-sqrt exact-integer? exact? exit exp expt features
40 file-error? file-exists? finite? floor floor-quotient
41 floor-remainder floor/ flush-output-port #;for-each force gcd
42 get-environment-variable get-environment-variables
43 get-output-bytevector get-output-string guard if imag-part import
44 include include-ci inexact inexact? infinite? input-port-open?
45 input-port? integer->char integer? interaction-environment
46 jiffies-per-second lambda lcm length let let* let*-values let-syntax
47 let-values letrec letrec* letrec-syntax list list->string magnitude
48 make-bytevector make-list make-parameter make-polar make-promise
49 make-rectangular make-string make-vector #;map max member memq memv min
50 modulo negative? newline not null? number->string number? numerator
51 odd? open-binary-input-file open-binary-output-file
52 open-input-bytevector open-input-file open-input-string
53 open-output-bytevector open-output-file open-output-string or
54 output-port-open? output-port? pair? parameterize peek-char peek-u8
55 port? positive? procedure? promise? quasiquote quote quotient raise
56 raise-continuable rational? rationalize read read-bytevector
57 read-bytevector! read-char read-error? read-line read-string read-u8
58 real-part real? remainder reverse round set! set-car! set-cdr! sin
59 sqrt square string string->list string->number string->symbol
60 string->utf8 string->vector string-append string-ci<=? string-ci<?
61 string-ci=? string-ci>=? string-ci>? string-copy string-copy!
62 string-downcase string-fill! string-foldcase string-for-each
63 string-length string-map string-ref string-set! string-upcase
64 string<=? string<? string=? string>=? string>? string? substring
65 symbol->string symbol=? symbol? syntax-error syntax-rules tan
66 textual-port? truncate truncate-quotient truncate-remainder
67 truncate/ u8-ready? unless unquote unquote-splicing utf8->string
68 values vector vector->list vector->string vector-append vector-copy
69 vector-copy! vector-fill! vector-for-each vector-length vector-map
70 vector-ref vector-set! vector? when with-exception-handler
71 with-input-from-file with-output-to-file write write-bytevector
72 write-char write-shared write-simple write-string write-u8 zero?)
73
74;; Extras
75(include "../extras.scm")
76(export append for-each map
77 list-append list-for-each list-map
78 ref copy
79 atom?
80 read-port read-port-chunk-size
81 defined?
82 with-output-to-string with-input-from-string
83 displayed ->string written
84 print)