remove all the bous exported-from annotations in the reference
svn: r7739
This commit is contained in:
parent
3ca803a6de
commit
9e70499c8c
|
@ -292,7 +292,8 @@
|
||||||
|
|
||||||
(define/public (render ds fns ri)
|
(define/public (render ds fns ri)
|
||||||
(map (lambda (d fn)
|
(map (lambda (d fn)
|
||||||
(printf " [Output to ~a]\n" fn)
|
(when #f
|
||||||
|
(printf " [Output to ~a]\n" fn))
|
||||||
(with-output-to-file fn
|
(with-output-to-file fn
|
||||||
#:exists 'truncate/replace
|
#:exists 'truncate/replace
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
(provide-structs
|
(provide-structs
|
||||||
[exported-index-desc ([name symbol?]
|
[exported-index-desc ([name symbol?]
|
||||||
[from-libs (listof module-path?)])]
|
[from-libs (listof module-path?)])]
|
||||||
[(method-index-desc exported-index-desc) ([method-name symbol?])]
|
[(method-index-desc exported-index-desc) ([method-name symbol?]
|
||||||
|
[class-tag tag?])]
|
||||||
[(procedure-index-desc exported-index-desc) ()]
|
[(procedure-index-desc exported-index-desc) ()]
|
||||||
[(thing-index-desc exported-index-desc) ()]
|
[(thing-index-desc exported-index-desc) ()]
|
||||||
[(struct-index-desc exported-index-desc) ()]
|
[(struct-index-desc exported-index-desc) ()]
|
||||||
|
|
|
@ -713,7 +713,9 @@
|
||||||
(make-method-index-desc
|
(make-method-index-desc
|
||||||
(syntax-e within-id)
|
(syntax-e within-id)
|
||||||
libs
|
libs
|
||||||
mname)))))
|
mname
|
||||||
|
(register-scheme-definition
|
||||||
|
within-id #t))))))
|
||||||
tag)
|
tag)
|
||||||
(car content)))
|
(car content)))
|
||||||
(*method (car prototype) within-id))))]
|
(*method (car prototype) within-id))))]
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
@title[#:tag-prefix '(lib "scribblings/gui/gui.scrbl")
|
@title[#:tag-prefix '(lib "scribblings/gui/gui.scrbl")
|
||||||
#:tag "top"]{PLT Scheme GUI: MrEd}
|
#:tag "top"]{PLT Scheme GUI: MrEd}
|
||||||
|
|
||||||
@declare-exporting[(lib "mred")]
|
@declare-exporting[mred scheme/gui]
|
||||||
|
|
||||||
This reference manual describes the MrEd GUI toolbox that is part of
|
This reference manual describes the MrEd GUI toolbox that is part of
|
||||||
PLT Scheme. See @secref[#:doc '(lib "scribblings/guide/guide.scrbl")
|
PLT Scheme. See @secref[#:doc '(lib "scribblings/guide/guide.scrbl")
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "breakhandler"]{Breaks}
|
@title[#:tag "breakhandler"]{Breaks}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/break")]
|
|
||||||
|
|
||||||
@section-index["threads" "breaking"]
|
@section-index["threads" "breaking"]
|
||||||
|
|
||||||
A @deftech{break} is an asynchronous exception, usually triggered
|
A @deftech{break} is an asynchronous exception, usually triggered
|
||||||
|
|
|
@ -198,8 +198,6 @@ string.
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{Bytes to/from Characters, Decoding and Encoding}
|
@section{Bytes to/from Characters, Decoding and Encoding}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/bytes")]
|
|
||||||
|
|
||||||
@defproc[(bytes->string/utf-8 [bstr bytes?]
|
@defproc[(bytes->string/utf-8 [bstr bytes?]
|
||||||
[err-char (or/c false/c char?) #f]
|
[err-char (or/c false/c char?) #f]
|
||||||
[start exact-nonnegative-integer? 0]
|
[start exact-nonnegative-integer? 0]
|
||||||
|
@ -334,8 +332,6 @@ string.
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{Bytes to Bytes Encoding Conversion}
|
@section{Bytes to Bytes Encoding Conversion}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/bytes/converter")]
|
|
||||||
|
|
||||||
@defproc[(bytes-open-converter [from-name string?][to-name string?])
|
@defproc[(bytes-open-converter [from-name string?][to-name string?])
|
||||||
bytes-converter?]{
|
bytes-converter?]{
|
||||||
|
|
||||||
|
|
|
@ -137,8 +137,6 @@ otherwise.
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{Classifications}
|
@section{Classifications}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/char")]
|
|
||||||
|
|
||||||
@defproc[(char-alphabetic? [char char?]) boolean?]{
|
@defproc[(char-alphabetic? [char char?]) boolean?]{
|
||||||
|
|
||||||
Returns @scheme[#t] if @scheme[char]'s Unicode general category is
|
Returns @scheme[#t] if @scheme[char]'s Unicode general category is
|
||||||
|
@ -241,8 +239,6 @@ Unicode.}
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{Character Conversions}
|
@section{Character Conversions}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/char")]
|
|
||||||
|
|
||||||
@defproc[(char-upcase [char char?]) char?]{
|
@defproc[(char-upcase [char char?]) char?]{
|
||||||
|
|
||||||
Produces a character consistent with the 1-to-1 code point mapping
|
Produces a character consistent with the 1-to-1 code point mapping
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
@title[#:tag "mzlib:class" #:style 'toc]{Classes and Objects}
|
@title[#:tag "mzlib:class" #:style 'toc]{Classes and Objects}
|
||||||
|
|
||||||
@declare-exporting[scheme/class]
|
@declare-exporting[scheme/class scheme]
|
||||||
|
|
||||||
@local-table-of-contents[]
|
@local-table-of-contents[]
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "modprotect"]{Code Inspectors}
|
@title[#:tag "modprotect"]{Code Inspectors}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/inspector")]
|
|
||||||
|
|
||||||
In the same way that inspectors control access to structure fields
|
In the same way that inspectors control access to structure fields
|
||||||
(see @secref["inspectors"]), inspectors also control access to
|
(see @secref["inspectors"]), inspectors also control access to
|
||||||
@tech{module bindings}. The default inspector for @tech{module
|
@tech{module bindings}. The default inspector for @tech{module
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
@title[#:tag "contmarks"]{Continuation Marks}
|
@title[#:tag "contmarks"]{Continuation Marks}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/control")]
|
|
||||||
|
|
||||||
See @secref["mark-model"] and @secref["prompt-model"] for
|
See @secref["mark-model"] and @secref["prompt-model"] for
|
||||||
general information about continuation marks.
|
general information about continuation marks.
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "cont"]{Continuations}
|
@title[#:tag "cont"]{Continuations}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/control")]
|
|
||||||
|
|
||||||
See @secref["cont-model"] and @secref["prompt-model"] for
|
See @secref["cont-model"] and @secref["prompt-model"] for
|
||||||
general information about continuations. PLT Scheme's support for
|
general information about continuations. PLT Scheme's support for
|
||||||
prompts and composable continuations most closely resembles Dorai
|
prompts and composable continuations most closely resembles Dorai
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
@title[#:tag "mzlib:contract" #:style 'toc]{Contracts}
|
@title[#:tag "mzlib:contract" #:style 'toc]{Contracts}
|
||||||
|
|
||||||
@declare-exporting[scheme/contract]
|
@declare-exporting[scheme/contract scheme]
|
||||||
|
|
||||||
A @defterm{contract} controls the flow of values to ensure that the
|
A @defterm{contract} controls the flow of values to ensure that the
|
||||||
expectations of one party are met by another party. The
|
expectations of one party are met by another party. The
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "custodians"]{Custodians}
|
@title[#:tag "custodians"]{Custodians}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/custodian")]
|
|
||||||
|
|
||||||
See @secref["custodian-model"] for basic information on the PLT
|
See @secref["custodian-model"] for basic information on the PLT
|
||||||
Scheme custodian model.
|
Scheme custodian model.
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Printer Extension}
|
@title{Printer Extension}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/write")]
|
|
||||||
|
|
||||||
@defthing[prop:custom-write struct-type-property?]{
|
@defthing[prop:custom-write struct-type-property?]{
|
||||||
|
|
||||||
Associates a procedure to a structure type to used by the default
|
Associates a procedure to a structure type to used by the default
|
||||||
|
|
|
@ -325,8 +325,6 @@ Sets the content of @scheme[box] to @scheme[v].}
|
||||||
@; ----------------------------------------------------------------------
|
@; ----------------------------------------------------------------------
|
||||||
@section[#:tag "hashtables"]{Hash Tables}
|
@section[#:tag "hashtables"]{Hash Tables}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/hash-table")]
|
|
||||||
|
|
||||||
A hash table can be used as a two-valued sequence (see
|
A hash table can be used as a two-valued sequence (see
|
||||||
@secref["sequences"]). The keys and values of the hash table serve
|
@secref["sequences"]). The keys and values of the hash table serve
|
||||||
as elements of the sequence (i.e., each element is a key and its
|
as elements of the sequence (i.e., each element is a key and its
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "define-struct"]{Defining Structure Types: @scheme[define-struct]}
|
@title[#:tag "define-struct"]{Defining Structure Types: @scheme[define-struct]}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/define-struct")]
|
|
||||||
|
|
||||||
@guideintro["define-struct"]{@scheme[define-struct]}
|
@guideintro["define-struct"]{@scheme[define-struct]}
|
||||||
|
|
||||||
@defform/subs[(define-struct id-maybe-super (field ...)
|
@defform/subs[(define-struct id-maybe-super (field ...)
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "encodings"]{Encodings and Locales}
|
@title[#:tag "encodings"]{Encodings and Locales}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/locale")]
|
|
||||||
|
|
||||||
When a port is provided to a character-based operation, such as
|
When a port is provided to a character-based operation, such as
|
||||||
@scheme[read-char] or @scheme[read], the port's bytes are read and
|
@scheme[read-char] or @scheme[read], the port's bytes are read and
|
||||||
interpreted as a UTF-8 encoding of characters. Thus, reading a single
|
interpreted as a UTF-8 encoding of characters. Thus, reading a single
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Evaluation and Compilation}
|
@title{Evaluation and Compilation}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/eval")]
|
|
||||||
|
|
||||||
@defparam[current-eval proc (any/c . -> . any)]{
|
@defparam[current-eval proc (any/c . -> . any)]{
|
||||||
|
|
||||||
A parameter that determines the current @deftech{evaluation handler}.
|
A parameter that determines the current @deftech{evaluation handler}.
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Exiting}
|
@title{Exiting}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/exit")]
|
|
||||||
|
|
||||||
@defproc[(exit [v any/c #t]) any]{
|
@defproc[(exit [v any/c #t]) any]{
|
||||||
|
|
||||||
Passes @scheme[v] to the current @tech{exit handler}. If the exit
|
Passes @scheme[v] to the current @tech{exit handler}. If the exit
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
@title[#:tag "exns"]{Exceptions}
|
@title[#:tag "exns"]{Exceptions}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/exn")]
|
|
||||||
|
|
||||||
See @secref["exn-model"] for information on the PLT Scheme
|
See @secref["exn-model"] for information on the PLT Scheme
|
||||||
exception model. It is based on @cite[#:key "friedman-exns" #:title
|
exception model. It is based on @cite[#:key "friedman-exns" #:title
|
||||||
"Exception system proposal" #:author "Daniel P. Friedman and
|
"Exception system proposal" #:author "Daniel P. Friedman and
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "file-ports"]{File Ports}
|
@title[#:tag "file-ports"]{File Ports}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/port/file")]
|
|
||||||
|
|
||||||
A port created by @scheme[open-input-file], @scheme[open-output-file],
|
A port created by @scheme[open-input-file], @scheme[open-output-file],
|
||||||
@scheme[subprocess], and related functions is a @deftech{file-stream
|
@scheme[subprocess], and related functions is a @deftech{file-stream
|
||||||
port}. The initial input, output, and error ports in stand-alone
|
port}. The initial input, output, and error ports in stand-alone
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Filesystem}
|
@title{Filesystem}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/file")]
|
|
||||||
|
|
||||||
@;------------------------------------------------------------------------
|
@;------------------------------------------------------------------------
|
||||||
@section[#:tag "findpaths"]{Locating Paths}
|
@section[#:tag "findpaths"]{Locating Paths}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:style 'toc]{Macros}
|
@title[#:style 'toc]{Macros}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/syntax")]
|
|
||||||
|
|
||||||
See @secref["syntax-model"] for general information on how programs
|
See @secref["syntax-model"] for general information on how programs
|
||||||
are parsed. In particular, the subsection @secref["expand-steps"]
|
are parsed. In particular, the subsection @secref["expand-steps"]
|
||||||
describes how parsing triggers macros, and
|
describes how parsing triggers macros, and
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
|
|
||||||
@local-table-of-contents[]
|
@local-table-of-contents[]
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/memory")]
|
|
||||||
|
|
||||||
@section[#:tag "weakbox"]{Weak Boxes}
|
@section[#:tag "weakbox"]{Weak Boxes}
|
||||||
|
|
||||||
A @deftech{weak box} is similar to a normal box (see
|
A @deftech{weak box} is similar to a normal box (see
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Module Names and Loading}
|
@title{Module Names and Loading}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/module-name")]
|
|
||||||
|
|
||||||
@;------------------------------------------------------------------------
|
@;------------------------------------------------------------------------
|
||||||
@section[#:tag "modnameresolver"]{Resolving Module Names}
|
@section[#:tag "modnameresolver"]{Resolving Module Names}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Namespaces}
|
@title{Namespaces}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/namespace")]
|
|
||||||
|
|
||||||
See @secref["namespace-model"] for basic information on the
|
See @secref["namespace-model"] for basic information on the
|
||||||
namespace model.
|
namespace model.
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "networking" #:style 'toc]{Networking}
|
@title[#:tag "networking" #:style 'toc]{Networking}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/network")]
|
|
||||||
|
|
||||||
@local-table-of-contents[]
|
@local-table-of-contents[]
|
||||||
|
|
||||||
@;------------------------------------------------------------------------
|
@;------------------------------------------------------------------------
|
||||||
|
|
|
@ -555,8 +555,6 @@ Returns @scheme[(and (exact-integer? v) (positive? v))].
|
||||||
@; ------------------------------------------------------------------------
|
@; ------------------------------------------------------------------------
|
||||||
@section{Random Numbers}
|
@section{Random Numbers}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/random")]
|
|
||||||
|
|
||||||
@defproc*[([(random [k (and/c positive-exact-integer?
|
@defproc*[([(random [k (and/c positive-exact-integer?
|
||||||
(integer-in 1 (sub1 (expt 2 31))))])
|
(integer-in 1 (sub1 (expt 2 31))))])
|
||||||
nonnegative-exact-integer?]
|
nonnegative-exact-integer?]
|
||||||
|
@ -626,8 +624,6 @@ one of the last three integers must be non-zero.}
|
||||||
@; ------------------------------------------------------------------------
|
@; ------------------------------------------------------------------------
|
||||||
@section{Number--String Conversions}
|
@section{Number--String Conversions}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/number")]
|
|
||||||
|
|
||||||
@section-index["numbers" "machine representations"]
|
@section-index["numbers" "machine representations"]
|
||||||
@section-index["numbers" "floating-point"]
|
@section-index["numbers" "floating-point"]
|
||||||
@section-index["numbers" "big-endian"]
|
@section-index["numbers" "big-endian"]
|
||||||
|
|
|
@ -137,8 +137,6 @@ Changes the mutable pair @scheme[p] so that its second element is
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{List Operations}
|
@section{List Operations}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/list")]
|
|
||||||
|
|
||||||
@defproc[(length [lst list?])
|
@defproc[(length [lst list?])
|
||||||
nonnegative-exact-integer?]{
|
nonnegative-exact-integer?]{
|
||||||
|
|
||||||
|
@ -181,8 +179,6 @@ reverse order.}
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{List Iteration}
|
@section{List Iteration}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/list")]
|
|
||||||
|
|
||||||
@defproc[(map [proc procedure?] [lst list?] ...+)
|
@defproc[(map [proc procedure?] [lst list?] ...+)
|
||||||
list?]{
|
list?]{
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "parameters"]{Parameters}
|
@title[#:tag "parameters"]{Parameters}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/parameter")]
|
|
||||||
|
|
||||||
See @secref["parameter-model"] for basic information on the
|
See @secref["parameter-model"] for basic information on the
|
||||||
parameter model. Parameters correspond to @defterm{preserved thread
|
parameter model. Parameters correspond to @defterm{preserved thread
|
||||||
fluids} in Scsh @cite[#:key "cite:thread-fluids" #:title "Processes
|
fluids} in Scsh @cite[#:key "cite:thread-fluids" #:title "Processes
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "pathutils" #:style 'toc]{Paths}
|
@title[#:tag "pathutils" #:style 'toc]{Paths}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/path")]
|
|
||||||
|
|
||||||
When a Scheme procedure takes a filesystem path as an argument, the
|
When a Scheme procedure takes a filesystem path as an argument, the
|
||||||
path can be provided either as a string or as an instance of the
|
path can be provided either as a string or as an instance of the
|
||||||
@deftech{path} datatype. If a string is provided, it is converted to a
|
@deftech{path} datatype. If a string is provided, it is converted to a
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "pipeports"]{Pipes}
|
@title[#:tag "pipeports"]{Pipes}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/port/pipe")]
|
|
||||||
|
|
||||||
A Scheme @deftech{pipe} is internal to Scheme, and not related to
|
A Scheme @deftech{pipe} is internal to Scheme, and not related to
|
||||||
OS-level pipes (which are @tech{file-stream ports}) for communicating
|
OS-level pipes (which are @tech{file-stream ports}) for communicating
|
||||||
between different processes.
|
between different processes.
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "port-buffers"]{Port Buffers and Positions}
|
@title[#:tag "port-buffers"]{Port Buffers and Positions}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/port")]
|
|
||||||
|
|
||||||
Some ports---especially those that read from and write to files---are
|
Some ports---especially those that read from and write to files---are
|
||||||
internally buffered:
|
internally buffered:
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "linecol"]{Counting Positions, Lines, and Columns}
|
@title[#:tag "linecol"]{Counting Positions, Lines, and Columns}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/port")]
|
|
||||||
|
|
||||||
@section-index["line numbers"]
|
@section-index["line numbers"]
|
||||||
@section-index["column numbers"]
|
@section-index["column numbers"]
|
||||||
@section-index["port positions"]
|
@section-index["port positions"]
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "port-ops"]{Managing Ports}
|
@title[#:tag "port-ops"]{Managing Ports}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/port")]
|
|
||||||
|
|
||||||
@defproc[(input-port? [v any/c]) boolean?]{
|
@defproc[(input-port? [v any/c]) boolean?]{
|
||||||
Returns @scheme[#t] if @scheme[v] is an input port, @scheme[#f] otherwise.}
|
Returns @scheme[#t] if @scheme[v] is an input port, @scheme[#f] otherwise.}
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,6 @@ is called in tail position with respect to the @scheme[apply] call.
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{Keywords and Arity}
|
@section{Keywords and Arity}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/procedure")]
|
|
||||||
|
|
||||||
@defproc[(keyword-apply [proc procedure?]
|
@defproc[(keyword-apply [proc procedure?]
|
||||||
[kw-lst (listof keyword?)]
|
[kw-lst (listof keyword?)]
|
||||||
[kw-val-lst list?]
|
[kw-val-lst list?]
|
||||||
|
@ -58,12 +56,12 @@ and @scheme[lst]; otherwise, the @exnraise[exn:fail:contract].
|
||||||
]}
|
]}
|
||||||
|
|
||||||
@defproc[(procedure-arity [proc procedure?])
|
@defproc[(procedure-arity [proc procedure?])
|
||||||
arity?]{
|
procedure-arity?]{
|
||||||
|
|
||||||
Returns information about the number of by-position arguments accepted
|
Returns information about the number of by-position arguments accepted
|
||||||
by @scheme[proc]. See also @scheme[arity?].}
|
by @scheme[proc]. See also @scheme[procedure-arity?].}
|
||||||
|
|
||||||
@defproc[(arity? [v any/c]) boolean?]{
|
@defproc[(procedure-arity? [v any/c]) boolean?]{
|
||||||
|
|
||||||
A valid arity is one of the following:
|
A valid arity is one of the following:
|
||||||
|
|
||||||
|
@ -103,7 +101,7 @@ when no keyword arguments are supplied, @scheme[#f] otherwise.
|
||||||
]}
|
]}
|
||||||
|
|
||||||
@defproc[(procedure-reduce-arity [proc procedure?]
|
@defproc[(procedure-reduce-arity [proc procedure?]
|
||||||
[arity arity?])
|
[arity procedure-arity?])
|
||||||
procedure?]{
|
procedure?]{
|
||||||
|
|
||||||
Returns a procedure that is the same as @scheme[proc] (including
|
Returns a procedure that is the same as @scheme[proc] (including
|
||||||
|
@ -167,7 +165,7 @@ obtains its result frmo @scheme[plain-proc].
|
||||||
@defstruct[arity-at-least ([value nonnegative-exact-integer?])]{
|
@defstruct[arity-at-least ([value nonnegative-exact-integer?])]{
|
||||||
|
|
||||||
This structure type is used for the result of @scheme[procedure-arity].
|
This structure type is used for the result of @scheme[procedure-arity].
|
||||||
See also @scheme[arity?].}
|
See also @scheme[procedure-arity?].}
|
||||||
|
|
||||||
|
|
||||||
@defthing[prop:procedure struct-type-property?]{
|
@defthing[prop:procedure struct-type-property?]{
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "portstructs"]{Structures as Ports}
|
@title[#:tag "portstructs"]{Structures as Ports}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/port")]
|
|
||||||
|
|
||||||
@defthing[prop:input-port struct-type-property?]
|
@defthing[prop:input-port struct-type-property?]
|
||||||
@defthing[prop:output-port struct-type-property?]
|
@defthing[prop:output-port struct-type-property?]
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Reading}
|
@title{Reading}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/read")]
|
|
||||||
|
|
||||||
@defproc[(read [in input-port? (current-input-port)]) any]{
|
@defproc[(read [in input-port? (current-input-port)]) any]{
|
||||||
|
|
||||||
Reads and returns a single @tech{datum} from @scheme[in]. If
|
Reads and returns a single @tech{datum} from @scheme[in]. If
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
@title[#:style 'toc]{Reader Extension}
|
@title[#:style 'toc]{Reader Extension}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/readtable")]
|
|
||||||
|
|
||||||
Scheme's reader can be extended in three ways: through a reader-macro
|
Scheme's reader can be extended in three ways: through a reader-macro
|
||||||
procedure in a readtable (see @secref["readtables"]), through a
|
procedure in a readtable (see @secref["readtables"]), through a
|
||||||
@litchar{#reader} form (see @secref["parse-reader"]), or through a
|
@litchar{#reader} form (see @secref["parse-reader"]), or through a
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
@title[#:tag-prefix '(lib "scribblings/reference/reference.scrbl")
|
@title[#:tag-prefix '(lib "scribblings/reference/reference.scrbl")
|
||||||
#:tag "top"]{PLT Scheme Reference}
|
#:tag "top"]{PLT Scheme Reference}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/base")]
|
@declare-exporting[scheme/base scheme]
|
||||||
|
|
||||||
This manual defines the core PLT Scheme language and describes its
|
This manual defines the core PLT Scheme language and describes its
|
||||||
most prominent libraries. The companion manual @|Guide| provides a
|
most prominent libraries. The companion manual @|Guide| provides a
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
|
|
||||||
@title[#:tag "regexp"]{Regular Expressions}
|
@title[#:tag "regexp"]{Regular Expressions}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/regexp")]
|
|
||||||
|
|
||||||
@section-index{regexps}
|
@section-index{regexps}
|
||||||
@section-index{pattern matching}
|
@section-index{pattern matching}
|
||||||
@section-index["strings" "pattern matching"]
|
@section-index["strings" "pattern matching"]
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Environment and Runtime Information}
|
@title{Environment and Runtime Information}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/runtime")]
|
|
||||||
|
|
||||||
@defproc[(getenv [name string?]) (or/c string? false/c)]{
|
@defproc[(getenv [name string?]) (or/c string? false/c)]{
|
||||||
|
|
||||||
Gets the value of an operating system environment variable. The
|
Gets the value of an operating system environment variable. The
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "securityguards"]{Security Guards}
|
@title[#:tag "securityguards"]{Security Guards}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/security-guard")]
|
|
||||||
|
|
||||||
@defproc[(security-guard? [v any/c]) boolean?]{
|
@defproc[(security-guard? [v any/c]) boolean?]{
|
||||||
|
|
||||||
Returns @scheme[#t] if @scheme[v] is a security guard value as created
|
Returns @scheme[#t] if @scheme[v] is a security guard value as created
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
@title[#:tag "sequences"]{Sequences}
|
@title[#:tag "sequences"]{Sequences}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/sequence")]
|
|
||||||
|
|
||||||
@guideintro["sequences"]{sequences}
|
@guideintro["sequences"]{sequences}
|
||||||
|
|
||||||
A @pidefterm{sequence} encapsulates an ordered stream of values. The
|
A @pidefterm{sequence} encapsulates an ordered stream of values. The
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Byte and String Input}
|
@title{Byte and String Input}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/io")]
|
|
||||||
|
|
||||||
@defproc[(read-char [in input-port? (current-input-port)])
|
@defproc[(read-char [in input-port? (current-input-port)])
|
||||||
(or/c character? eof-object?)]{
|
(or/c character? eof-object?)]{
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title{Byte and String Output}
|
@title{Byte and String Output}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/io")]
|
|
||||||
|
|
||||||
@defproc[(write-char [char character?][out output-port? (current-output-port)])
|
@defproc[(write-char [char character?][out output-port? (current-output-port)])
|
||||||
void?]{
|
void?]{
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "stringport"]{String Ports}
|
@title[#:tag "stringport"]{String Ports}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/port/bytes")]
|
|
||||||
|
|
||||||
String input and output ports do not need to be explicitly closed. The
|
String input and output ports do not need to be explicitly closed. The
|
||||||
@scheme[file-position] procedure works for string ports in
|
@scheme[file-position] procedure works for string ports in
|
||||||
position-setting mode.
|
position-setting mode.
|
||||||
|
|
|
@ -259,8 +259,6 @@ _i)] is the character produced by @scheme[(proc _i)].
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{String Conversions}
|
@section{String Conversions}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/string")]
|
|
||||||
|
|
||||||
@defproc[(string-upcase [str string?]) string?]{ Returns a string
|
@defproc[(string-upcase [str string?]) string?]{ Returns a string
|
||||||
whose characters are the upcase conversion of the characters in
|
whose characters are the upcase conversion of the characters in
|
||||||
@scheme[str]. The conversion uses Unicode's locale-independent
|
@scheme[str]. The conversion uses Unicode's locale-independent
|
||||||
|
@ -324,8 +322,6 @@ allocated string).}
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
@section{Locale-Specific String Operations}
|
@section{Locale-Specific String Operations}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/locale")]
|
|
||||||
|
|
||||||
@defproc[(string-locale=? [str1 string?] [str2 string?] ...+)
|
@defproc[(string-locale=? [str1 string?] [str2 string?] ...+)
|
||||||
boolean?]{ Like @scheme[string=?], but the strings are compared in a
|
boolean?]{ Like @scheme[string=?], but the strings are compared in a
|
||||||
locale-specific way, based the value of @scheme[current-locale]. See
|
locale-specific way, based the value of @scheme[current-locale]. See
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "inspectors"]{Structure Inspectors}
|
@title[#:tag "inspectors"]{Structure Inspectors}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/inspector")]
|
|
||||||
|
|
||||||
An @deftech{inspector} provides access to structure fields and
|
An @deftech{inspector} provides access to structure fields and
|
||||||
structure type information without the normal field accessors and
|
structure type information without the normal field accessors and
|
||||||
mutators. (Inspectors are also used to control access to module
|
mutators. (Inspectors are also used to control access to module
|
||||||
|
|
|
@ -347,8 +347,6 @@ is inaccessible.)}
|
||||||
@;------------------------------------------------------------------------
|
@;------------------------------------------------------------------------
|
||||||
@section[#:tag "structinfo"]{Structure Type Transformer Binding}
|
@section[#:tag "structinfo"]{Structure Type Transformer Binding}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/struct-info.ss")]
|
|
||||||
|
|
||||||
The @scheme[define-struct] form binds the name of a structure type as
|
The @scheme[define-struct] form binds the name of a structure type as
|
||||||
a @tech{transformer binding} that records the other identifiers bound
|
a @tech{transformer binding} that records the other identifiers bound
|
||||||
to the structure type, the constructor procedure, the predicate
|
to the structure type, the constructor procedure, the predicate
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "subprocess"]{Processes}
|
@title[#:tag "subprocess"]{Processes}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/subprocess")]
|
|
||||||
|
|
||||||
@defproc[(subprocess [stdout (or/c output-port? false/c)]
|
@defproc[(subprocess [stdout (or/c output-port? false/c)]
|
||||||
[stdin (or/c input-port? false/c)]
|
[stdin (or/c input-port? false/c)]
|
||||||
[stderr (or/c output-port? false/c)]
|
[stderr (or/c output-port? false/c)]
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "all-sync" #:style 'toc]{Synchronization}
|
@title[#:tag "all-sync" #:style 'toc]{Synchronization}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/sync")]
|
|
||||||
|
|
||||||
Scheme's synchronization toolbox spans three layers:
|
Scheme's synchronization toolbox spans three layers:
|
||||||
|
|
||||||
@itemize{
|
@itemize{
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "threadcells"]{Thread Cells}
|
@title[#:tag "threadcells"]{Thread Cells}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/thread-cell")]
|
|
||||||
|
|
||||||
A @deftech{thread cell} contains a thread-specific value; that is, it
|
A @deftech{thread cell} contains a thread-specific value; that is, it
|
||||||
contains a specific value for each thread, but it may contain
|
contains a specific value for each thread, but it may contain
|
||||||
different values for different threads. A thread cell is created with
|
different values for different threads. A thread cell is created with
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "threadgroups"]{Thread Groups}
|
@title[#:tag "threadgroups"]{Thread Groups}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/thread")]
|
|
||||||
|
|
||||||
A @deftech{thread group} is a collection of threads and other thread
|
A @deftech{thread group} is a collection of threads and other thread
|
||||||
groups that have equal claim to the CPU. By nesting thread groups and
|
groups that have equal claim to the CPU. By nesting thread groups and
|
||||||
by creating certain threads within certain groups, a programmer can
|
by creating certain threads within certain groups, a programmer can
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "threads"]{Threads}
|
@title[#:tag "threads"]{Threads}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/thread")]
|
|
||||||
|
|
||||||
See @secref["thread-model"] for basic information on the PLT Scheme
|
See @secref["thread-model"] for basic information on the PLT Scheme
|
||||||
thread model.
|
thread model.
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
@title[#:tag "time"]{Time}
|
@title[#:tag "time"]{Time}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/time")]
|
|
||||||
|
|
||||||
@defproc[(current-seconds) exact-integer?]{
|
@defproc[(current-seconds) exact-integer?]{
|
||||||
|
|
||||||
Returns the current time in seconds. This time is always an exact
|
Returns the current time in seconds. This time is always an exact
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
@title[#:tag "mzlib:unit" #:style 'toc]{Units}
|
@title[#:tag "mzlib:unit" #:style 'toc]{Units}
|
||||||
|
|
||||||
@declare-exporting[scheme/unit]
|
@declare-exporting[scheme/unit scheme]
|
||||||
|
|
||||||
@local-table-of-contents[]
|
@local-table-of-contents[]
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
|
|
||||||
@title{Writing}
|
@title{Writing}
|
||||||
|
|
||||||
@declare-exporting[(lib "scheme/write")]
|
|
||||||
|
|
||||||
@defproc[(write [datum any/c][out output-port? (current-output-port)])
|
@defproc[(write [datum any/c][out output-port? (current-output-port)])
|
||||||
void?]{
|
void?]{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user