(drscheme:basis:initialize-parameters custodian setting) -> void
custodian : custodian
setting : setting
This initializes the
parameters
for the current thread to enable
evaluation in the language level specified by setting. The
argument custodian is installed as the current
custodian.
This procedure sets the following parameters:
- break-enabled
- compile-allow-set!-undefined
- compile-allow-cond-fallthrough
- current-eval
- current-load
- current-setting
- current-custodian
- current-exception-handler
- current-namespace
- current-zodiac-namespace
- current-print
- current-load-relative-directory
- current-require-relative-collection
- error-print-width
- error-value->string-handler
- global-port-print-handler
- print-graph
- print-struct
- read-case-sensitive
- read-curly-brace-as-paren
- read-square-bracket-as-paren
- use-compiled-file-kinds
It also sets these Zodiac parameters, which control how code is generated:
- aries:signal-undefined
- aries:signal-not-boolean
- zodiac:allow-reader-quasiquote
- zodiac:disallow-untagged-inexact-numbers
- zodiac:allow-improper-lists
It also sets these
mzlib.
parameters,
- mzlib:print-convert:constructor-style-printing
- mzlib:print-convert:quasi-read-style-printing
- mzlib:print-convert:show-sharing
- mzlib:print-convert:whole/fractional-exact-numbers
- mzlib:print-convert:abbreviate-cons-as-list
- mzlib:pretty-print:pretty-print-show-inexactness
Additionally, zodiac:reset-previous-attribute is called wih the
arguments #f and #f, unless the language is MrEd Debug,
in which case it is called with #f and #t.
Additionally, the following built in MzScheme primitives may be replaced with version
that perform checking, depending on the language level. The replacment
only happens in the teaching language levels, (Beginner, Intermediate
and Advanced). For more details see plt/collects/userspce/ricedefr.ss.
<= < > >=
= + * /
cons
set-cdr!
list*
append
append!
Additionally, in the non-teaching levels, the variables: argv and program are set.