home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d149
/
scheme.lha
/
Scheme
/
SYNOPSIS
< prev
next >
Wrap
Text File
|
1987-06-15
|
9KB
|
290 lines
=============================
SYNOPSIS OF SYSTEM PROCEDURES
=============================
Scheme
Version 1.2
19-March-1988
--------------------------- primitives -----------------------------------------
command-name +
command-line +
startup-file +
change-size + (change-size new-size)
extend-size + (extend-size amount-to-expand)
shrink-size + (shrink-size amount-to-shrink)
minimize-size + (minimize-size)
current-size + (current-size)
collect-garbage + (collect-garbage)
call/cc + (call/cc one-arg-proc)
dynamic-wind + (dynamic-wind entry-thunk body-thunk exit-thunk)
set-interrupt-flags! + (set-interrupt-flags! flags-mask affect-mask)
with-interrupt-mask + (with-interrupt-mask mask affect-mask thunk)
current-interrupt-flags + (current-interrupt-flags)
current-interrupt-mask + (current-interrupt-mask)
error-context + (error-context error-handler-continuaton body-thunk)
current-error-continuation + (current-error-continuation)
error + (error reason cause)
abort-system + (abort-system) or (abort-system exitval)
file-exists? + (file-exists? filename)
sleep + (sleep nticks)
call-system + (call-system command)
obj->rep + (obj->rep obj)
!rep->obj + (!rep->obj rep) WHERE rep = (tags . ref)
!storage-ref + (!storage-ref obj offset)
!storage-set! + (!storage-set! obj offset obj-to-store)
!storage-rep-ref + (!storage-rep-ref obj offset)
!storage-rep-set! + (!storage-rep-set! obj offset rep-to-store)
!byte-ref + (!byte-ref obj offset)
!byte-set! + (!byte-set! obj offset byte)
add-syntax! + (add-syntax! symbol two-arg-proc)
delete-syntax! + (delete-syntax! symbol)
get-syntax-definitions + (get-syntax-definitions)
nil
t
eval + (eval exp env)
apply (apply proc arglist)
eqv? (eqv? obj1 obj2)
eq? (eq? obj1 obj2)
equal? (equal? obj1 obj2)
memv (memv obj list)
memq (memq obj list)
member (member obj list)
assv (assv obj alist)
assq (assq obj alist)
assoc (assoc obj alist)
not (not obj)
pair? (pair? obj)
stream? + (stream? obj)
environment? + (environment? obj)
procedure? (procedure? obj)
vector? (vector? obj)
number? (number? obj)
complex? (complex? obj)
real? (real? obj)
rational? (rational? obj)
integer? (integer? obj)
string? (string? obj)
port? (port? obj)
symbol? (symbol? obj)
eof-object? (eof-object? obj)
primitive? + (primitive? obj)
compound-procedure? + (compound-procedure? obj)
compiled? + (compiled? obj)
thunk? + (thunk? obj)
promise? + (promise? obj)
continuation? + (continuation? obj)
null? (null? obj)
empty-stream? + (empty-stream? obj)
char? (char? obj)
boolean? (boolean? obj)
length (length list)
append (append list1 ...)
reverse (reverse list)
last-pair (last-pair list)
list-ref (list-ref list pos)
list-tail (list-tail list pos)
list (list) or (list obj1 ...)
cons (cons obj1 obj2)
car (car pair)
cdr (cdr pair)
caar (caar pair)
cadr (cadr pair)
cdar (cdar pair)
cddr (cddr pair)
caaar (caaar pair)
caadr (caadr pair)
cadar (cadar pair)
caddr (caddr pair)
cdaar (cdaar pair)
cdadr (cdadr pair)
cddar (cddar pair)
cdddr (cdddr pair)
caaaar (caaaar pair)
caaadr (caaadr pair)
caadar (caadar pair)
caaddr (caaddr pair)
cadaar (cadaar pair)
cadadr (cadadr pair)
caddar (caddar pair)
cadddr (cadddr pair)
cdaaar (cdaaar pair)
cdaadr (cdaadr pair)
cdadar (cdadar pair)
cdaddr (cdaddr pair)
cddaar (cddaar pair)
cddadr (cddadr pair)
cdddar (cdddar pair)
cddddr (cddddr pair)
set-car! (set-car! pair obj)
set-cdr! (set-cdr! pair obj)
force + (force promise)
the-empty-stream +
head + (head stream)
tail + (tail stream)
call-with-input-file (call-with-input-file string one-arg-proc)
call-with-output-file (call-with-output-file string one-arg-proc)
input-port? (input-port? obj)
output-port? (output-port? obj)
current-input-port (current-input-port)
current-output-port (current-output-port)
with-input-from-file (with-input-from-file string thunk)
with-output-to-file (with-output-to-file string thunk)
open-input-file (open-input-file string)
open-output-file (open-output-file string)
close-input-port (close-input-port port)
close-output-port (close-output-port port)
read (read) or (read port)
read-char (read-char) or (read-char port)
char-ready? (char-ready?) or (char-ready? port)
write (write obj) or (write obj port)
display (display obj) or (display obj port)
newline (newline) or (newline port)
write-char (write-char char) or (write-char char port)
load (load string)
read-raw-bytes + (read-raw-bytes size) or (read-raw-bytes size port)
write-raw-bytes + (write-raw-bytes string) or (write-raw-bytes string port)
map (map proc list1 ...)
for-each (for-each proc list1 ...)
char->string + (char->string char)
string->char + (string->char string)
char=? (char=? char1 char2)
char-ci=? (char-ci=? char1 char2)
char<? (char<? char1 char2)
char-ci<? (char-ci<? char1 char2)
char>=? (char>=? char1 char2)
char-ci>=? (char-ci>=? char1 char2)
char>? (char>? char1 char2)
char-ci>? (char-ci>? char1 char2)
char<=? (char<=? char1 char2)
char-ci<=? (char-ci<=? char1 char2)
char-alphabetic? (char-alphabetic? char)
char-numeric? (char-numeric? char)
char-whitespace? (char-whitespace? char)
char-upper-case? (char-upper-case? char)
char-lower-case? (char-lower-case? char)
char-upcase (char-upcase char)
char-downcase (char-downcase char)
char->integer (char->integer char)
integer->char (integer->char number)
string=? (string=? string1 string2)
string-ci=? (string-ci=? string1 string2)
string<? (string<? string1 string2)
string-ci<? (string-ci<? string1 string2)
string>=? (string>=? string1 string2)
string-ci>=? (string-ci>=? string1 string2)
string>? (string>? string1 string2)
string-ci>? (string-ci>? string1 string2)
string<=? (string<=? string1 string2)
string-ci<=? (string-ci<=? string1 string2)
string-copy (string-copy string)
string-append (string-append) or (string-append string1 ...)
string->list (string->list string)
list->string (list->string char-list)
make-string (make-string length) or (make-string length fill-char)
string-length (string-length string)
string-ref (string-ref string pos)
string-set! (string-set! string pos char)
string-fill! (string-fill! string char)
substring (substring string start end+1)
vector->list (vector->list vector)
list->vector (list->vector list)
vector (vector) or (vector obj1 ...)
make-vector (make-vector length) or (make-vector length fill-obj)
vector-length (vector-length vector)
vector-ref (vector-ref vector pos)
vector-set! (vector-set! vector pos obj)
vector-fill! (vector obj)
string->symbol (string->symbol string)
symbol->string (symbol->string symbol)
exact->inexact (exact->inexact number)
inexact->exact (inexact->exact number)
exact? (exact? obj)
inexact? (inexact? obj)
odd? (odd? obj)
even? (even? obj)
zero? (zero? obj)
positive? (positive? obj)
negative? (negative? obj)
= (= number1 number2)
< (< number1 number2)
>= (>= number1 number2)
> (> number1 number2)
<= (<= number1 number2)
abs (abs number)
+ (+ number1 number2)
- (- number1 number2)
* (* number1 number2)
/ (/ number1 number2)
quotient (quotient number1 number2)
remainder (remainder number1 number2)
call-with-quotient&remainder + (call-with-quotient&remainder number1 number2 proc)
min (min n1 n2)
max (max n1 n2)
number->string (number->string number format)
string->number (string->number string exactness radix)
--------------------------- special forms --------------------------------------
cond (cond clause1 ...) or (cond ... (else exp1 ...))
if (if predicate consequent alternative)
set! (set! symbol exp)
define (define symbol exp) or (define (exp1 ...) exp)
begin (begin exp1 ...)
quote (quote exp)
quasiquote (quasiquote exp)
unquote (unquote exp)
unquote-splicing (unquote-splicing exp)
let (let (binding1 ...) exp1 ...) or (let () exp1 ...)
letrec (letrec (binding1 ...) exp1 ...) or (letrec () exp1 ...)
fluid-let + (fluid-let (binding1 ...) exp1 ...) or (fluid-let () exp1 ...)
fluid + (fluid symbol)
lambda (lambda (symbol1 ...) exp1 ...) or (lambda () exp1 ...)
the-environment + (the-environment)
make-environment + (make-environment exp1 ...)
access + (access symbol1 ... env)
delay + (delay exp1 ...)
cons-stream + (cons-stream obj1 obj2)
and + (and exp1 ...)
or (or exp1 ...)