vile / scheme / testdata / extension-procedures.txt
405 lines · 395 sloc · 6.65 KB · 76646891b77a3d5c6af4a1e42b122cd61dc1654b
Raw
; Selected additions to the R5RS procedure fixture, shared by both syntaxes.
; Syntax forms have independent semantic tests rather than procedure bindings.
load
promise?
make-promise
make-parameter
make-list
list-copy
list-set!
vector-copy
vector-copy!
vector-append
string-copy!
vector->string
string->vector
boolean=?
symbol=?
vector-map
vector-for-each
string-map
string-for-each
call-with-port
current-error-port
port?
textual-port?
binary-port?
input-port-open?
output-port-open?
close-port
open-input-string
open-output-string
get-output-string
read-line
read-string
write-string
flush-output-port
eof-object
bytevector?
make-bytevector
bytevector
bytevector-length
bytevector-u8-ref
bytevector-u8-set!
bytevector-copy
bytevector-copy!
bytevector-append
utf8->string
string->utf8
open-input-bytevector
open-output-bytevector
get-output-bytevector
open-binary-input-file
open-binary-output-file
read-u8
peek-u8
u8-ready?
read-bytevector
read-bytevector!
write-u8
write-bytevector

environment
features
exact
inexact
exact-integer?
exact-integer-sqrt
square
finite?
infinite?
nan?
floor/
floor-quotient
floor-remainder
truncate/
truncate-quotient
truncate-remainder

command-line
get-environment-variable
get-environment-variables
file-exists?
delete-file
current-second
current-jiffy
jiffies-per-second
exit
emergency-exit

write-shared
write-simple

find
memp
assp
for-all
exists
filter
partition
remp
fold-left
fold-right
cons*
remove
remv
remq
list-sort
vector-sort
vector-sort!

; R6RS enumeration procedures (selected extension in the shared dialect).
; https://r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-15.html
make-enumeration
enum-set-universe
enum-set-indexer
enum-set-constructor
enum-set->list
enum-set-member?
enum-set-subset?
enum-set=?
enum-set-union
enum-set-intersection
enum-set-difference
enum-set-complement
enum-set-projection

; R6RS hashtable and hash procedures (selected shared-dialect extension).
; https://r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-14.html
make-eq-hashtable
make-eqv-hashtable
make-hashtable
hashtable?
hashtable-size
hashtable-ref
hashtable-set!
hashtable-delete!
hashtable-contains?
hashtable-update!
hashtable-copy
hashtable-clear!
hashtable-keys
hashtable-entries
hashtable-equivalence-function
hashtable-hash-function
hashtable-mutable?
equal-hash
string-hash
string-ci-hash
symbol-hash

; Selected R6RS arithmetic computational procedures; condition types deferred.
; https://r6rs.org/corrected/html/r6rs-lib/r6rs-lib-Z-H-12.html
fixnum?
fixnum-width
least-fixnum
greatest-fixnum
fx=?
fx>?
fx<?
fx>=?
fx<=?
fxzero?
fxpositive?
fxnegative?
fxodd?
fxeven?
fxmax
fxmin
fx+
fx*
fx-
fxdiv-and-mod
fxdiv
fxmod
fxdiv0-and-mod0
fxdiv0
fxmod0
fx+/carry
fx-/carry
fx*/carry
fxnot
fxand
fxior
fxxor
fxif
fxbit-count
fxlength
fxfirst-bit-set
fxbit-set?
fxcopy-bit
fxbit-field
fxcopy-bit-field
fxarithmetic-shift
fxarithmetic-shift-left
fxarithmetic-shift-right
fxrotate-bit-field
fxreverse-bit-field
flonum?
real->flonum
fl=?
fl<?
fl<=?
fl>?
fl>=?
flinteger?
flzero?
flpositive?
flnegative?
flodd?
fleven?
flfinite?
flinfinite?
flnan?
flmax
flmin
fl+
fl*
fl-
fl/
flabs
fldiv-and-mod
fldiv
flmod
fldiv0-and-mod0
fldiv0
flmod0
flnumerator
fldenominator
flfloor
flceiling
fltruncate
flround
flexp
fllog
flsin
flcos
fltan
flasin
flacos
flatan
flsqrt
flexpt
fixnum->flonum
bitwise-not
bitwise-and
bitwise-ior
bitwise-xor
bitwise-if
bitwise-bit-count
bitwise-length
bitwise-first-bit-set
bitwise-bit-set?
bitwise-copy-bit
bitwise-bit-field
bitwise-copy-bit-field
bitwise-arithmetic-shift
bitwise-arithmetic-shift-left
bitwise-arithmetic-shift-right
bitwise-rotate-bit-field
bitwise-reverse-bit-field

; Unicode runtime: corrected R7RS character library / R6RS Unicode + official errata.
char-titlecase
char-foldcase
char-title-case?
char-general-category
digit-value
string-upcase
string-downcase
string-titlecase
string-foldcase
string-normalize-nfd
string-normalize-nfkd
string-normalize-nfc
string-normalize-nfkc

; R6RS records procedural/inspection (shared dialect, corrected contracts).
; https://r6rs.org/corrected/html/r6rs-lib/r6rs-lib-Z-H-7.html
record-constructor
make-record-type-descriptor
record-type-descriptor?
make-record-constructor-descriptor
record-predicate
record-accessor
record-mutator
record?
record-rtd
record-type-name
record-type-parent
record-type-uid
record-type-generative?
record-type-sealed?
record-type-opaque?
record-type-field-names
record-field-mutable?
native-endianness
bytevector=?
bytevector-fill!
bytevector-s8-ref
bytevector-s8-set!
bytevector->u8-list
u8-list->bytevector
bytevector-uint-ref
bytevector-sint-ref
bytevector-uint-set!
bytevector-sint-set!
bytevector->uint-list
bytevector->sint-list
uint-list->bytevector
sint-list->bytevector
bytevector-u16-ref
bytevector-s16-ref
bytevector-u16-native-ref
bytevector-s16-native-ref
bytevector-u16-set!
bytevector-s16-set!
bytevector-u16-native-set!
bytevector-s16-native-set!
bytevector-u32-ref
bytevector-s32-ref
bytevector-u32-native-ref
bytevector-s32-native-ref
bytevector-u32-set!
bytevector-s32-set!
bytevector-u32-native-set!
bytevector-s32-native-set!
bytevector-u64-ref
bytevector-s64-ref
bytevector-u64-native-ref
bytevector-s64-native-ref
bytevector-u64-set!
bytevector-s64-set!
bytevector-u64-native-set!
bytevector-s64-native-set!
bytevector-ieee-single-native-ref
bytevector-ieee-single-ref
bytevector-ieee-double-native-ref
bytevector-ieee-double-ref
bytevector-ieee-single-native-set!
bytevector-ieee-single-set!
bytevector-ieee-double-native-set!
bytevector-ieee-double-set!
string->utf16
string->utf32
utf16->string
utf32->string
latin-1-codec
utf-8-codec
utf-16-codec
native-eol-style
native-transcoder
make-transcoder
transcoder-codec
transcoder-eol-style
transcoder-error-handling-mode
bytevector->string
string->bytevector

; Selected port I/O: shared R7RS-small libraries, no R6RS conditions hierarchy.
; https://r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-9.html
transcoded-port
port-transcoder
get-u8
lookahead-u8
get-bytevector-n
get-bytevector-n!
get-bytevector-some
get-bytevector-all
put-u8
put-bytevector
get-char
lookahead-char
get-string-n
get-string-n!
get-string-all
get-line
get-datum
put-char
put-string
put-datum
port-has-port-position?
port-position
port-has-set-port-position!?
set-port-position!
open-bytevector-input-port
open-string-input-port
open-bytevector-output-port
open-string-output-port
port-eof?
call-with-bytevector-output-port
call-with-string-output-port
buffer-mode?
output-port-buffer-mode
open-file-input-port
open-file-output-port
open-file-input/output-port
standard-input-port
standard-output-port
standard-error-port
make-custom-binary-input-port
make-custom-binary-output-port
make-custom-binary-input/output-port
make-custom-textual-input-port
make-custom-textual-output-port
make-custom-textual-input/output-port