Google

PLT MzScheme: Language Manual

 

Index


'all
'already-exists
'any
'any-one
'append
'binary
'block
'bound-in-source
'client
'delete
'empty
'equal
'error
'exact
'exec-file
'execute, [2]
'exists
'home-dir
'ill-formed-path
'inferred-name
'init-dir
'init-file
'initial
'lexical
'line
'linefeed
'macos
'macosx
'method-arity-error
'module-direct-for-syntax-requires
'module-direct-requires
'module-indirect-provides
'module-kernel-reprovide-hint
'module-self-path-index
'module-syntax-provides
'module-variable-provides
'none, [2]
'origin
'oskit
'pref-dir
'pref-file
'read, [2]
'relative
'replace
'return
'return-linefeed
'running
'same, [2], [3]
'server
'sw_hide
'sw_maximize
'sw_minimize
'sw_restore
'sw_show
'sw_showdefault
'sw_showmaximized
'sw_showminimized
'sw_showminnoactive
'sw_showna
'sw_shownoactivate
'sw_shownormal
'sys-dir
'temp-dir
'text
'truncate
'truncate/replace
'unix
'up, [2], [3]
'update
'weak
'windows
'write, [2]
'wrong-version, [2]
+inf.0, [2]
+nan.0
,
, [2]
--
--Load
--Load-cd
--Require
--awk
--case-sens
--eval
--help
--load
--load-cd
--main
--mute-banner
--mzlib
--no-argv
--no-init-file
--no-lib-path
--persistent
--require
--require-script
--restore, [2]
--script
--script-cd
--set-undef
--version
-A
-D
-F
-L
-M, [2]
-R
-T
-d
-e
-f
-g
-h
-i
-inf.0
-k
-l
-m
-nan.0
-p
-q
-r
-s
-t
-u
-v
-w
-x
.
...
.mzschemerc
=>
[ ]
#!, [2]
#'
#,
#,
#\backspace
#\linefeed
#\newline
#\nul
#\null
#\page
#\return
#\rubout
#\space
#\tab
#\vtab
#<undefined>
#<void>
#%
#%app
#%datum
#%module-begin
#%top
#&amp;
#n=, [2]
#n#, [2]
#`
#ci
#cs
#~
\a
\b
\e
\f
\n
\o
\ooo
\oo
\r
\t
\v
\xhh
\xh
_loader.so
syntax-rules Extensions
{ }
`
\


absolute-path?
add1
all-defined
all-defined-except
all-except, [2]
all-from
all-from-except
and
And and Or
andmap
append!
argv, [2]
arithmetic-shift
arity, [2]
arity-at-least-value
arity-at-least?
assoc
assq
assv


banner
Basic Data Extensions
Basic Syntax Extensions
begin, [2]
begin0
bignum
Binding Forms
Binding Multiple and Fluid Syntax Identifiers
bitwise operators
bitwise-and
bitwise-ior
bitwise-not
bitwise-xor
Booleans
bound-identifier=?
box
box?
Boxes
boxes, [2], [3]
    printing, [2]
break-enabled
break-thread, [2]
Breaks
breaks, see threads, breaking
Bruggeman, Carl
build-path
Built-in Modules
byte codes


call-in-nested-thread
call-with-current-continuation, [2]
call-with-custodian
call-with-escape-continuation, [2]
call-with-input-file
call-with-output-file, [2]
call/cc, [2]
call/ec, [2]
case sensitivity
Case-Lambda
case-lambda
char->integer
char->latin-1-integer
char-alphabetic?
char-ci<=?
char-ci<?
char-ci=?
char-ci>=?
char-ci>?
char-downcase
char-locale-alphabetic?
char-locale-ci<?
char-locale-ci=?
char-locale-ci>?
char-locale-downcase
char-locale-lower-case?
char-locale-numeric?
char-locale-upcase
char-locale-upper-case?
char-locale-whitespace?
char-locale<?
char-locale>?
char-numeric?
char-upcase
char-upper-case?
char-whitespace?
char<=?
char<?
char=?
char>=?
char>?
Characters
characters, [2]
    printing
Check Syntax
check-duplicate-identifier
check-parameter-procedure
collect-garbage
collection-path
collections
column numbers
command-line arguments, [2]
comments
communication
communications
Compilation
compile
compile-allow-set!-undefined
compiled code
compiled-expression?
compiled-module-expression?
compiling
complete-path?
complex
Cond and Case
cons-immutable
Continuation Marks
continuation-mark-set->list
continuation-mark-set?
continuation-marks
Continuations
continuations
    escape
control flow
copy-file
Creating Subtypes
curly braces
current namespace
current-command-line-arguments, [2]
current-continuation-marks, [2]
current-custodian, [2]
current-directory, [2]
current-drive
current-error-port
current-eval
current-exception-handler, [2]
current-gc-milliseconds
current-input-port, [2]
current-inspector
current-library-collection-paths, [2], [3], [4]
current-load
current-load-extension
current-load-relative-directory, [2], [3]
current-load/use-compiled
current-locale
current-memory-use
current-milliseconds, [2]
current-module-name-prefix
current-module-name-resolver
current-namespace
current-output-port, [2]
current-print
current-process-milliseconds
current-prompt-read
current-pseudo-random-generator, [2], [3]
current-seconds, [2], [3]
current-security-guard, [2]
current-thread
custodian-limit-memory
custodian-require-memory
custodian-shutdown-all
custodian?
Custodians
custodians, [2]
cycles


Data Sharing in Input and Output
date
date
date-day
date-dst?
date-hour
date-minute
date-month
date-second
date-time-zone-offset
date-week-day
date-year
date-year-day
datum->syntax-object
decimal input
define
define
    internal
define-struct
define-syntax
define-syntaxes
define-values
Defining Structure Types
delete-directory
delete-file
directories
    contents
    creating
    current, [2]
    dates
    deleting
    moving
    of currently loading file, [2], [3]
    pathnames, see pathnames
    permissions
    renaming
    root
    testing
directory-exists?
directory-list
display
division by inexact zero
dump-memory-stats
Dybvig, Kent, [2]
Dynamic Extensions
Dynamic Module Access
Dynamic Wind
dynamic-require
dynamic-require-for-syntax
dynamic-wind


else
environments
    top-level, [2]
eof
eof-object?
eq-hash-code
eq?, [2]
equal-hash-code
equal?, [2], [3]
eqv?, [2], [3]
error, [2], [3], [4], [5]
error display handler
Error Escape Handler
error escape handlers, [2]
error value conversion handler
error-display-handler
error-escape-handler, [2]
error-print-source-location
error-print-width
error-value->string-handler
Errors
errors, [2], [3]
    mismatch
    syntax
    type
eval, [2]
Eval and Load
evaluation handler
Evaluation Order
evaluation order
even?
exception handlers
Exceptions
exceptions, [2]
    primitive hierarchy
Exceptions and Control Flow
Executable Name
exit, [2]
exit handler
exit-handler
Exiting
exiting
exn
exn:application:arity, [2], [3]
exn:application:continuation
exn:application:fprintf:mismatch
exn:application:mismatch, [2], [3], [4], [5], [6], [7], [8], [9], [10], [11], [12], [13], [14], [15], [16], [17], [18], [19], [20], [21], [22], [23], [24], [25], [26], [27]
exn:application:type, [2], [3], [4], [5], [6], [7], [8], [9], [10]
exn:application;mismatch
exn:break, [2], [3], [4], [5], [6]
exn:i/o:filesystem, [2], [3], [4], [5], [6], [7], [8], [9], [10], [11], [12], [13], [14], [15], [16], [17], [18], [19], [20], [21], [22], [23], [24], [25]
exn:i/o:port, [2]
exn:i/o:tcp, [2], [3], [4], [5], [6]
exn:misc, [2], [3], [4], [5], [6]
exn:misc:application, [2], [3]
exn:misc:unsupported, [2], [3], [4], [5], [6]
exn:module, [2], [3]
exn:read, [2], [3], [4], [5], [6], [7]
exn:read:non-char
exn:special-comment, [2]
exn:syntax, [2], [3], [4], [5], [6]
exn:thread
exn:user
exn:variable, [2], [3]
exn?
expand
expand-once
expand-path
expand-to-top-form
exponential input
expressions
    shared structure


fields
file-exists?
file-or-directory-modify-seconds, [2], [3], [4]
file-or-directory-permissions, [2]
file-position, [2]
file-size
file-stream-buffer-mode
file-stream-port?
files
    copying
    deleting
    loading
    modification dates
    moving
    pathnames, see pathnames
    permissions
    renaming
    sizes
    testing
Filesystem Utilities
filesystem-root-list
finalization, see will executors
find-executable-path
find-system-path, [2], [3]
fixnum
Flag Conventions
floating-point-byte-string->real
flonum
fluid-let
fluid-let-syntax
flush-output
force
format
fprintf
fraction
free-identifier=?
Friedman, Dan


Garbage Collection
generate-temporaries
gensym
get-output-string
getenv
global port print handler
global-port-print-handler, [2], [3]
graphs, [2]
    printing
guardians, see will executors


Hash Tables
hash tables
hash-table-for-each
hash-table-get
hash-table-map
hash-table-put!
hash-table-remove!
hash-table?
Haynes, Chris
Hieb, Rob
HOMEDRIVE
HOMEPATH


identifier macro
Identifier Resolution in Namespaces
identifier-binding
identifier-binding-export-position
identifier-transformer-binding
identifier-transformer-binding-export-position
identifier?
immutable?
infinity
infix
info.ss
Initial Namespace
initial-exception-handler
Initialization
Input and Output
Input Parsing
input ports
    pattern matching
inspector?
inspectors, [2]
integer->char, [2]
integer->integer-byte-string
integer-byte-string->integer
Introduction


kill-thread


latin-1-integer->char
let
let*
let*-values
let-struct
let-syntaxes
let-values
let/cc, [2]
let/ec
let/ec
letrec, [2]
letrec-syntaxes
letrec-syntaxes+values
letrec-values, [2]
libraries
Library Collections and MzLib
line numbers
link-exists?
links
    creating
    testing
list
list*
list*-immutable
list-immutable
list-ref
list-tail
Lists
load, [2], [3], [4], [5]
load extension handler
load handler
load-extension, [2], [3], [4]
load-relative, [2], [3], [4], [5]
load-relative-extension, [2], [3]
load/cd, [2]
load/use-compiled, [2], [3], [4], [5], [6]
load/use-compiled handler
load/used-compiled
local-expand
locales
logical operators, see bitwise operators


Macro Expansion
macros, see syntax
make-custodian
make-custom-input-port
make-custom-output-port
make-directory
make-file-or-directory-link
make-hash-table
make-input-port
make-inspector
make-namespace
make-output-port
make-parameter
make-pipe
make-pseudo-random-generator
make-security-guard
make-semaphore
make-set!-transformer
make-struct-field-accessor
make-struct-field-mutator
make-struct-type
make-struct-type-property
make-weak-box
make-will-executor
member
Memory Management
memq
memv
module, [2]
Module Bodies
Module Expansion and Execution
module name resolver
module path index
Module Paths
module-compiled-imports
module-compiled-name
module-identifier=?
module-path-index-join
module-path-index-split
module-path-index?
module-transformer-identifier=?
Modules
modules
    body
    built-in
    compiling
    dynamic imports
    execution
    expansion
    exports
    for-syntax imports
    imports
    in files
    libraries
    macros, [2]
    paths
    pre-defined
    predefined
    re-declaring
    re-defining
    redeclaring
    redefining
    syntax
Modules and Load Handlers
Modules and Macros
MrEd, DrScheme, and mzc
Multiple Return Values
multiple return values
MzLib library
MzScheme
    stand-alone, [2]
mzscheme
MzScheme3m
mzschemerc.ss


Namespace Utilities
namespace-attach-module, [2]
namespace-mapped-symbols
namespace-require
namespace-require/copy
namespace-require/expansion-time
namespace-set-variable-value!
namespace-symbol->identifier
namespace-transformer-require
namespace-variable-value
namespace?
Namespaces
namespaces
    initial
    initial environment
    initial transformer environment
Networking
networking
normal-case-path
not-a-number
not-break-exn?
Notation
null
null-environment
number->string
Numbers
numbers, [2]
    big-endian
    converting
    floating-point
    little-endian
    machine representations


object-name
object-wait-multiple
object-wait-multiple/enable-break
object-waitable?
odd?
open-input-file
open-input-output-file
open-input-string
open-output-file, [2]
open-output-string
Operating System Environment Variables
Operating System Processes
or
ormap
Output Printing


packages
parameter
parameter procedure
parameter-procedure=?
parameter?
parameterize
Parameters
parameters
    built-in
parsing
PATH
path->complete-path
path-list-string->path-list
pathnames
    expansion
pattern matching
peek-char-or-special
peek-string
peek-string-avail!
peek-string-avail!*
peek-string-avail!/enable-break
platform, [2]
PLTCOLLECTS
port display handler
port positions
port print handler
port read handler
port write handler
port-count-lines!
port-count-lines-enabled
port-display-handler, [2]
port-next-location
port-print-handler, [2]
port-read-handler, [2]
port-write-handler, [2]
port?
Ports
ports, [2], [3]
    custom
    file
    flushing
    string
prefix
primitive procedure
primitive-closure?
primitive-result-arity
primitive?
print, [2]
print handler
print-box, [2]
print-graph, [2]
print-struct, [2]
print-vector-length, [2]
printf
printing sharing
Procedure Application
procedure-arity
procedure-arity-includes?
procedure?, [2]
Procedures
processes
program, [2]
promise?
Promises
promises
prompt read handler
provide
pseudo-random-generator?
putenv


quasiquote
quasisyntax
quasisyntax/loc
Quote and Quasiquote
quote-syntax


raise
raise-mismatch-error
raise-syntax-error
raise-type-error, [2]
random, [2]
random numbers
random-seed, [2]
Re-declaring Modules
read
read-accept-bar-quote, [2], [3]
read-accept-box, [2]
read-accept-compiled, [2]
read-accept-dot, [2]
read-accept-graph, [2]
read-accept-quasiquote, [2]
read-case-sensitive, [2], [3]
read-char-or-special
read-curly-brace-as-paren, [2]
read-decimal-as-inexact, [2]
read-eval-print loop
    read-eval-print loop
        customized
read-eval-print loop
read-eval-print-loop, [2], [3], [4]
read-image-from-file
read-line
read-square-bracket-as-paren, [2]
read-string
read-string-avail!
read-string-avail!*
read-string-avail!/enable-break
read-syntax, [2]
Reading and Writing
real->floating-point-byte-string
regexp
regexp-match, [2]
regexp-match-peek
regexp-match-peek-positions
regexp-match-positions
regexp-replace
regexp-replace*
regexp?
Regular Expressions
regular expressions
relative-path?
rename, [2]
rename-file-or-directory, [2]
require, [2], [3]
require-for-syntax, [2]
resolve-path
reverse!
run-time hierarchy
Running MzScheme
Runtime Information


Saving and Restoring Program Images
scheme-report-environment
scripts
seconds->date
Security
Security Guards
security guards, [2]
security-guard?
semaphore-post
semaphore-try-wait?
semaphore-wait
semaphore-wait/enable-break
semaphore?
Semaphores
semaphores
Sequences
set!
set!
set!-transformer?
set!-values
set-box!
shell scripts
shell-execute
ShellExecute
simplify-path
sleep
sockets
Special Syntax Identifiers
split-path
square brackets
string->immutable-string
string->number
string->symbol
string->uninterned-symbol
string-ci<=?
string-ci<?
string-ci=?
string-ci>=?
string-ci>?
string-locale-ci<?
string-locale-ci=?
string-locale-ci>?
string-locale<?
string-locale>?
string<=?
string<?
string=?
string>=?
string>?
Strings
strings
    as ports
    immutable
    pattern matching
    printing
    reading to and writing from
struct
struct->vector
struct-accessor-procedure?
struct-constructor-procedure?
struct-info
struct-mutator-procedure?
struct-predicate-procedure?
struct-type-info
struct-type-property?
struct-type?
struct?
structs
    printing
Structure Inspectors
structure subtypes
structure type descriptors
Structure Type Properties
structure type properties
structure types
    predicates
Structure Types with Automatic Fields and Properties
Structure Utilities
Structures
structures
    equality
    printing
Structures as Procedures
sub1
subprocess
subprocess-kill
subprocess-pid
subprocess-status
subprocess-wait
subprocess?
subprocesses
Support Facilities
Symbols
symbols
    case sensitivity
    generating
    printing
    unique
Synchronizing Multiple Objects with Timeout
syntax
    expanding
    macro calls
    modules
    partial expansion
syntax
Syntax and Lexical Scope
Syntax and Macros
Syntax Objects
syntax objects
    comparisons
    identifier
    operations
    pattern-matching
    properties, [2]
    source location, [2]
    source module
syntax pair
syntax->list
syntax-case
syntax-case*
syntax-column
syntax-e
syntax-graph?
syntax-line
syntax-local-context
syntax-local-introduce
syntax-local-name
syntax-local-value
syntax-object->datum
syntax-original?
syntax-position
syntax-property, [2]
syntax-rules
syntax-source
syntax-source-module
syntax-span
syntax/loc
syntax?
System Utilities
system-big-endian?
system-library-subpath
system-type


tail calls
tcp-abandon-port
tcp-accept
tcp-accept-ready?
tcp-accept/enable-break
tcp-addresses
tcp-close
tcp-connect
tcp-connect/enable-break
tcp-listen
tcp-listener?
TCP/IP
thread
thread descriptor
Thread Utilities
thread-running?
thread-wait
thread?
Threads
threads
    breaking, [2]
    communication
    killing
    nesting
    run state
    synchronization
Time
time
    machine
time
time-apply
TMPDIR
top-level environment, see namespaces
transformer environments
    in modules
transformers
    application


unbox
undefined values
uninterned symbol
unless
unquote
unquote-splicing
unsyntax
unsyntax-splicing
use-compiled-file-kinds


Vectors
vectors
    printing, [2]
version
vertical bar
void, [2]
Void and Undefined
void?


Weak Boxes
weak boxes
weak-box-value
weak-box?
when
When and Unless
Will Executors
will executors
will-execute
will-executor?
will-register
will-try-execute
Windows Actions
with-continuation-mark
with-handlers
with-input-from-file, [2]
with-output-to-file, [2], [3]
with-syntax
write
write-image-to-file, [2]
write-string-avail
write-string-avail*
write-string-avail/enable-break
Writing and Running Scripts