R6RS Forms and Functions ======================== scraped from http://www.r6rs.org/ compiled by Peter 'Code Cop' Kofler, https://www.code-cop.org/ Special Forms ------------- ' , ,@ ... ; ` and assert begin case cond define define-syntax if lambda let let* let*-values let-syntax let-values letrec letrec* letrec-syntax or quasiquote quote set! Builtin Functions ----------------- * + - / < <= = > >= abs acos angle append apply asin assertion-violation atan boolean? caar cadr call-with-current-continuation call-with-values call/cc car cddddr cdr ceiling char->integer char<=? char=? char>? char? complex? cons cos denominator div div-and-mod div0 div0-and-mod0 dynamic-wind else eq? equal? eqv? error even? exact exact-integer-sqrt exact? exp expt finite? floor for-each gcd identifier-syntax imag-part inexact inexact? infinite? integer-valued? integer? lcm length list list->string list->vector list-ref list-tail list? log magnitude make-polar make-rectangular make-string make-vector map max min mod mod0 nan? negative? not null? number->string number? numerator odd? pair? positive? procedure? rational-valued? rational? rationalize real-part real-valued? real? reverse rnrs round sin sqrt string string->list string->number string->symbol string-append string-copy string-for-each string-length string-ref string<=? string=? string>? string? substring symbol->string symbol? tan truncate values vector vector->list vector-fill! vector-for-each vector-length vector-map vector-ref vector-set! vector? which zero? Library Forms ------------- buffer-mode case-lambda define-condition-type define-enumeration define-record-type delay do endianness eol-style error-handling-mode file-options guard quasisyntax record-constructor-descriptor record-type-descriptor syntax syntax-case unless when Library Functions ----------------- assertion-violation? assoc assp assq assv binary-port? bitwise-and bitwise-arithmetic-shift bitwise-arithmetic-shift-left bitwise-arithmetic-shift-right bitwise-bit-count bitwise-bit-field bitwise-bit-set? bitwise-copy-bit bitwise-copy-bit-field bitwise-first-bit-set bitwise-if bitwise-ior bitwise-length bitwise-not bitwise-reverse-bit-field bitwise-rotate-bit-field bitwise-xor bound-identifier=? buffer-mode? bytevector->sint-list bytevector->string bytevector->u8-list bytevector->uint-list bytevector-copy bytevector-copy! bytevector-ieee-double-native-ref bytevector-ieee-double-native-set! bytevector-ieee-double-ref bytevector-ieee-double-set! bytevector-ieee-single-native-ref bytevector-ieee-single-native-set! bytevector-ieee-single-ref bytevector-ieee-single-set! bytevector-length bytevector-s16-native-ref bytevector-s16-native-set! bytevector-s16-ref bytevector-s16-set! bytevector-s32-native-ref bytevector-s32-native-set! bytevector-s32-ref bytevector-s32-set! bytevector-s64-native-ref bytevector-s64-native-set! bytevector-s64-ref bytevector-s64-set! bytevector-s8-ref bytevector-s8-set! bytevector-sint-ref bytevector-sint-set! bytevector-u16-native-ref bytevector-u16-native-set! bytevector-u16-ref bytevector-u16-set! bytevector-u32-native-ref bytevector-u32-native-set! bytevector-u32-ref bytevector-u32-set! bytevector-u64-native-ref bytevector-u64-native-set! bytevector-u64-ref bytevector-u64-set! bytevector-u8-ref bytevector-u8-set! bytevector-uint-ref bytevector-uint-set! bytevector=? bytevector? call-with-bytevector-output-port call-with-input-file call-with-output-file call-with-port call-with-string-output-port char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-foldcase char-general-category char-lower-case? char-numeric? char-title-case? char-titlecase char-upcase char-upper-case? char-whitespace? close-input-port close-output-port close-port command-line condition condition-accessor condition-irritants condition-message condition-predicate condition-who condition? cons* current-error-port current-input-port current-output-port datum->syntax define-syntax delete-file display enum-set->list enum-set-complement enum-set-constructor enum-set-difference enum-set-indexer enum-set-intersection enum-set-member? enum-set-projection enum-set-subset? enum-set-union enum-set-universe enum-set=? environment eof-object eof-object? equal-hash error? eval exact->inexact exists exit file-exists? filter find fixnum->flonum fixnum-width fixnum? fl* fl+ fl- fl/ fl<=? fl=? fl>? flabs flacos flasin flatan flceiling flcos fldenominator fldiv fldiv-and-mod fldiv0 fldiv0-and-mod0 fleven? flexp flexpt flfinite? flfloor flinfinite? flinteger? fllog flmax flmin flmod flmod0 flnan? flnegative? flnumerator flodd? flonum? flpositive? flround flsin flsqrt fltan fltruncate flush-output-port flzero? fold-left fold-right for-all force free-identifier=? fx* fx*/carry fx+ fx+/carry fx- fx-/carry fx<=? fx=? fx>? fxand fxarithmetic-shift fxarithmetic-shift-left fxarithmetic-shift-right fxbit-count fxbit-field fxbit-set? fxcopy-bit fxcopy-bit-field fxdiv fxdiv-and-mod fxdiv0 fxdiv0-and-mod0 fxeven? fxfirst-bit-set fxif fxior fxlength fxmax fxmin fxmod fxmod0 fxnegative? fxnot fxodd? fxpositive? fxreverse-bit-field fxrotate-bit-field fxxor fxzero? generate-temporaries get-bytevector-all get-bytevector-n get-bytevector-n! get-bytevector-some get-char get-datum get-line get-string-all get-string-n get-string-n! get-u8 greatest-fixnum hashtable-clear! hashtable-contains? hashtable-copy hashtable-delete! hashtable-entries hashtable-equivalence-function hashtable-hash-function hashtable-keys hashtable-mutable? hashtable-ref hashtable-set! hashtable-size hashtable-update! hashtable? i/o-decoding-error? i/o-encoding-error-char i/o-encoding-error? i/o-error-filename i/o-error-port i/o-error-position i/o-error? i/o-file-already-exists-error? i/o-file-does-not-exist-error? i/o-file-is-read-only-error? i/o-file-protection-error? i/o-filename-error? i/o-invalid-position-error? i/o-port-error? i/o-read-error? i/o-write-error? identifier? implementation-restriction-violation? inexact->exact input-port? irritants-condition? latin-1-codec least-fixnum lexical-violation? list-sort lookahead-char lookahead-u8 make-assertion-violation make-bytevector make-custom-binary-input-port make-custom-binary-input/output-port make-custom-binary-output-port make-custom-textual-input-port make-custom-textual-input/output-port make-custom-textual-output-port make-enumeration make-eq-hashtable make-eqv-hashtable make-error make-hashtable make-i/o-decoding-error make-i/o-encoding-error make-i/o-error make-i/o-file-already-exists-error make-i/o-file-does-not-exist-error make-i/o-file-is-read-only-error make-i/o-file-protection-error make-i/o-filename-error make-i/o-invalid-position-error make-i/o-port-error make-i/o-read-error make-i/o-write-error make-implementation-restriction-violation make-irritants-condition make-lexical-violation make-message-condition make-no-infinities-violation make-no-nans-violation make-non-continuable-violation make-record-constructor-descriptor make-record-type-descriptor make-serious-condition make-syntax-violation make-transcoder make-undefined-violation make-variable-transformer make-violation make-warning make-who-condition member memp memq memv message-condition? modulo native-endianness native-eol-style native-transcoder newline no-infinities-violation? no-nans-violation? non-continuable-violation? null-environment open-bytevector-input-port open-bytevector-output-port open-file-input-port open-file-input/output-port open-file-output-port open-input-file open-output-file open-string-input-port open-string-output-port output-port-buffer-mode output-port? partition peek-char port-eof? port-has-port-position? port-has-set-port-position!? port-position port-transcoder port? put-bytevector put-char put-datum put-string put-u8 quotient raise raise-continuable read read-char real->flonum record-accessor record-constructor record-field-mutable? record-mutator record-predicate record-rtd record-type-descriptor? record-type-field-names record-type-generative? record-type-name record-type-opaque? record-type-parent record-type-sealed? record-type-uid record? remainder remove remp remq remv scheme-report-environment see serious-condition? set-car! set-cdr! set-port-position! simple-conditions sint-list->bytevector standard-error-port standard-input-port standard-output-port string->bytevector string->utf16 string->utf32 string->utf8 string-ci-hash string-ci<=? string-ci=? string-ci>? string-downcase string-fill! string-foldcase string-hash string-normalize-nfc string-normalize-nfd string-normalize-nfkc string-normalize-nfkd string-set! string-titlecase string-upcase symbol-hash syntax->datum syntax-violation syntax-violation-form syntax-violation-subform syntax-violation? textual-port? transcoded-port transcoder-codec transcoder-eol-style transcoder-error-handling-mode u8-list->bytevector uint-list->bytevector undefined-violation? utf-16-codec utf-8-codec utf16->string utf32->string utf8->string vector-sort vector-sort! violation? warning? who-condition? with-exception-handler with-input-from-file with-output-to-file write write-char