doc corrections
svn: r9857
This commit is contained in:
parent
84d010b567
commit
5205f45c50
|
@ -334,9 +334,10 @@ Like @scheme[class*], but omits the @scheme[interface-expr]s, for the case that
|
||||||
|
|
||||||
@defidform[this]{
|
@defidform[this]{
|
||||||
|
|
||||||
Within a @scheme[class*] form, refers to the current object (i.e., the
|
@index['("self")]{Within} a @scheme[class*] form, @scheme[this] refers
|
||||||
object being initialized or whose method was called). Use outside the
|
to the current object (i.e., the object being initialized or whose
|
||||||
body of a @scheme[class*] form is a syntax error.}
|
method was called). Use outside the body of a @scheme[class*] form is
|
||||||
|
a syntax error.}
|
||||||
|
|
||||||
@defclassforms[
|
@defclassforms[
|
||||||
[(inspect inspector-expr) ()]
|
[(inspect inspector-expr) ()]
|
||||||
|
|
|
@ -210,7 +210,7 @@ Example:
|
||||||
@defproc[(parse-command-line [name (or/c string? path?)]
|
@defproc[(parse-command-line [name (or/c string? path?)]
|
||||||
[argv (or/c (listof string?) (vectorof string?))]
|
[argv (or/c (listof string?) (vectorof string?))]
|
||||||
[table (listof (list/c symbol? list?))]
|
[table (listof (list/c symbol? list?))]
|
||||||
[finish-proc ((list?) list? . ->* . any)]
|
[finish-proc ((list?) () #:rest list? . ->* . any)]
|
||||||
[arg-help-strs (listof string?)]
|
[arg-help-strs (listof string?)]
|
||||||
[help-proc (string? . -> . any) (lambda (str) ....)]
|
[help-proc (string? . -> . any) (lambda (str) ....)]
|
||||||
[unknown-proc (string? . -> . any) (lambda (str) ...)])
|
[unknown-proc (string? . -> . any) (lambda (str) ...)])
|
||||||
|
|
|
@ -603,7 +603,7 @@ directory, returns a list such that
|
||||||
. -> . any/c)
|
. -> . any/c)
|
||||||
(or/c procedure?
|
(or/c procedure?
|
||||||
((path? (one-of/c 'dir) any/c)
|
((path? (one-of/c 'dir) any/c)
|
||||||
. ->* . (any/c any/c))))]
|
. -> . (values any/c any/c))))]
|
||||||
[init-val any/c]
|
[init-val any/c]
|
||||||
[start-path (or/c path-string? false/c) #f]
|
[start-path (or/c path-string? false/c) #f]
|
||||||
[follow-links? any/c #t])
|
[follow-links? any/c #t])
|
||||||
|
|
|
@ -46,9 +46,9 @@ input ports as it becomes available.}
|
||||||
false/c)))]
|
false/c)))]
|
||||||
[close (-> any)]
|
[close (-> any)]
|
||||||
[get-location (or/c
|
[get-location (or/c
|
||||||
(()
|
(->
|
||||||
. ->* .
|
(values
|
||||||
((or/c positive-exact-integer? false/c)
|
(or/c positive-exact-integer? false/c)
|
||||||
(or/c nonnegative-exact-integer? false/c)
|
(or/c nonnegative-exact-integer? false/c)
|
||||||
(or/c positive-exact-integer? false/c)))
|
(or/c positive-exact-integer? false/c)))
|
||||||
false/c)
|
false/c)
|
||||||
|
@ -338,12 +338,12 @@ Like @scheme[relocate-input-port], but for output ports.}
|
||||||
|
|
||||||
@defproc[(transplant-input-port [in input-port?]
|
@defproc[(transplant-input-port [in input-port?]
|
||||||
[get-location (or/c
|
[get-location (or/c
|
||||||
(()
|
(->
|
||||||
. ->* .
|
(values
|
||||||
((or/c exact-positive-integer? false/c)
|
(or/c exact-positive-integer? false/c)
|
||||||
(or/c exact-nonnegative-integer? false/c)
|
(or/c exact-nonnegative-integer? false/c)
|
||||||
(or/c exact-positive-integer? false/c)))
|
(or/c exact-positive-integer? false/c)))
|
||||||
false/c)]
|
false/c)]
|
||||||
[init-pos (-> exact-positive-integer?)]
|
[init-pos (-> exact-positive-integer?)]
|
||||||
[close? any/c #t]
|
[close? any/c #t]
|
||||||
[count-lines! (-> any) void])
|
[count-lines! (-> any) void])
|
||||||
|
@ -360,12 +360,12 @@ is enabled for the resulting port. The default is @scheme[void].}
|
||||||
|
|
||||||
@defproc[(transplant-output-port [in input-port?]
|
@defproc[(transplant-output-port [in input-port?]
|
||||||
[get-location (or/c
|
[get-location (or/c
|
||||||
(()
|
(->
|
||||||
. ->* .
|
(values
|
||||||
((or/c exact-positive-integer? false/c)
|
(or/c exact-positive-integer? false/c)
|
||||||
(or/c exact-nonnegative-integer? false/c)
|
(or/c exact-nonnegative-integer? false/c)
|
||||||
(or/c exact-positive-integer? false/c)))
|
(or/c exact-positive-integer? false/c)))
|
||||||
false/c)]
|
false/c)]
|
||||||
[init-pos (-> exact-positive-integer?)]
|
[init-pos (-> exact-positive-integer?)]
|
||||||
[close? any/c #t]
|
[close? any/c #t]
|
||||||
[count-lines! (-> any) void])
|
[count-lines! (-> any) void])
|
||||||
|
|
|
@ -170,7 +170,7 @@ list is also in the second list.
|
||||||
]}
|
]}
|
||||||
|
|
||||||
@defproc[(make-keyword-procedure
|
@defproc[(make-keyword-procedure
|
||||||
[proc (((listof keyword?) list?) list? . ->* . any)]
|
[proc (((listof keyword?) list?) () #:rest list? . ->* . any)]
|
||||||
[plain-proc procedure? (lambda args (keyword-apply proc null null args))])
|
[plain-proc procedure? (lambda args (keyword-apply proc null null args))])
|
||||||
procedure?]{
|
procedure?]{
|
||||||
|
|
||||||
|
|
|
@ -144,13 +144,12 @@ sequence?]{ Returns a sequence that contains the elements of
|
||||||
(inclusive) for which applying @scheme[pred] to the element produces
|
(inclusive) for which applying @scheme[pred] to the element produces
|
||||||
@scheme[#t], after which the sequence ends.}
|
@scheme[#t], after which the sequence ends.}
|
||||||
|
|
||||||
@defproc[(make-do-sequence [thunk (->* ()
|
@defproc[(make-do-sequence [thunk (-> (values (any/c . -> . any)
|
||||||
(values (any/c . -> . any)
|
(any/c . -> . any/c)
|
||||||
(any/c . -> . any/c)
|
any/c
|
||||||
any/c
|
(any/c . -> . any/c)
|
||||||
(any/c . -> . any/c)
|
(() () #:rest list? . ->* . any/c)
|
||||||
(() () #:rest list? . ->* . any/c)
|
((any/c) () #:rest list? . ->* . any/c)))])
|
||||||
((any/c) () #:rest list? . ->* . any/c)))])
|
|
||||||
sequence?]{
|
sequence?]{
|
||||||
|
|
||||||
Returns a sequence whose elements are generated by the procedures and
|
Returns a sequence whose elements are generated by the procedures and
|
||||||
|
|
|
@ -409,7 +409,7 @@ instance of @scheme[id] and copies its field values into @scheme[x].
|
||||||
@; ----------------------------------------------------------------------
|
@; ----------------------------------------------------------------------
|
||||||
|
|
||||||
@defproc[(make-deserialize-info [make procedure?]
|
@defproc[(make-deserialize-info [make procedure?]
|
||||||
[cycle-make (() . ->* . (any/c procedure?))])
|
[cycle-make (-> (values any/c procedure?))])
|
||||||
any]{
|
any]{
|
||||||
|
|
||||||
Produces a deserialization information record to be used by
|
Produces a deserialization information record to be used by
|
||||||
|
|
|
@ -540,8 +540,9 @@ former list (so that a module will be @tech{instantiate}d or
|
||||||
former list).}
|
former list).}
|
||||||
|
|
||||||
|
|
||||||
@defproc[(make-require-transformer [proc ((syntax?) . ->* . ((listof import?)
|
@defproc[(make-require-transformer [proc (syntax? . -> . (values
|
||||||
(listof import-source?)))])
|
(listof import?)
|
||||||
|
(listof import-source?)))])
|
||||||
require-transformer?]{
|
require-transformer?]{
|
||||||
|
|
||||||
Creates a @deftech{require transformer} (i.e., a structure with the
|
Creates a @deftech{require transformer} (i.e., a structure with the
|
||||||
|
|
|
@ -280,18 +280,18 @@ argument for consistency with the other functions.}
|
||||||
|
|
||||||
@defproc*[([(pin-line [pict pict?]
|
@defproc*[([(pin-line [pict pict?]
|
||||||
[src pict-path?]
|
[src pict-path?]
|
||||||
[find-src (pict? pict-path? . ->* . (real? real?))]
|
[find-src (pict? pict-path? . -> . (values real? real?))]
|
||||||
[dest pict-path?]
|
[dest pict-path?]
|
||||||
[find-dest (pict? pict-path? . ->* . (real? real?))]
|
[find-dest (pict? pict-path? . -> . (values real? real?))]
|
||||||
[#:line-width line-width (or/c false/c real?) #f]
|
[#:line-width line-width (or/c false/c real?) #f]
|
||||||
[#:color color (or/c false/c string? (is-a/c? color%)) #f]
|
[#:color color (or/c false/c string? (is-a/c? color%)) #f]
|
||||||
[#:under? under? any/c #f])
|
[#:under? under? any/c #f])
|
||||||
pict?]
|
pict?]
|
||||||
[(pin-arrow-line [arrow-size real?] [pict pict?]
|
[(pin-arrow-line [arrow-size real?] [pict pict?]
|
||||||
[src pict-path?]
|
[src pict-path?]
|
||||||
[find-src (pict? pict-path? . ->* . (real? real?))]
|
[find-src (pict? pict-path? . -> . (values real? real?))]
|
||||||
[dest pict-path?]
|
[dest pict-path?]
|
||||||
[find-dest (pict? pict-path? . ->* . (real? real?))]
|
[find-dest (pict? pict-path? . -> . (values real? real?))]
|
||||||
[#:line-width line-width (or/c false/c real?) #f]
|
[#:line-width line-width (or/c false/c real?) #f]
|
||||||
[#:color color (or/c false/c string? (is-a/c? color%)) #f]
|
[#:color color (or/c false/c string? (is-a/c? color%)) #f]
|
||||||
[#:under? under? any/c #f]
|
[#:under? under? any/c #f]
|
||||||
|
@ -299,9 +299,9 @@ argument for consistency with the other functions.}
|
||||||
pict?]
|
pict?]
|
||||||
[(pin-arrows-line [arrow-size real?] [pict pict?]
|
[(pin-arrows-line [arrow-size real?] [pict pict?]
|
||||||
[src pict-path?]
|
[src pict-path?]
|
||||||
[find-src (pict? pict-path? . ->* . (real? real?))]
|
[find-src (pict? pict-path? . -> . (values real? real?))]
|
||||||
[dest pict-path?]
|
[dest pict-path?]
|
||||||
[find-dest (pict? pict-path? . ->* . (real? real?))]
|
[find-dest (pict? pict-path? . -> . (values real? real?))]
|
||||||
[#:line-width line-width (or/c false/c real?) #f]
|
[#:line-width line-width (or/c false/c real?) #f]
|
||||||
[#:color color (or/c false/c string? (is-a/c? color%)) #f]
|
[#:color color (or/c false/c string? (is-a/c? color%)) #f]
|
||||||
[#:under? under? any/c #f]
|
[#:under? under? any/c #f]
|
||||||
|
@ -398,7 +398,7 @@ comparing the last-element bottom-right corners.}
|
||||||
pict?]
|
pict?]
|
||||||
[(pin-over [base pict?]
|
[(pin-over [base pict?]
|
||||||
[find-pict pict-path?]
|
[find-pict pict-path?]
|
||||||
[find (pict? pict-path? . ->* . (real? real?))]
|
[find (pict? pict-path? . -> . (values real? real?))]
|
||||||
[pict pict?])
|
[pict pict?])
|
||||||
pict?])]{
|
pict?])]{
|
||||||
|
|
||||||
|
@ -415,7 +415,7 @@ should be something like @scheme[lt-find].}
|
||||||
pict?]
|
pict?]
|
||||||
[(pin-under [base pict?]
|
[(pin-under [base pict?]
|
||||||
[find-pict pict?]
|
[find-pict pict?]
|
||||||
[find (pict? pict? . ->* . (real? real?))]
|
[find (pict? pict? . -> . (values real? real?))]
|
||||||
[pict pict?])
|
[pict pict?])
|
||||||
pict?])]{
|
pict?])]{
|
||||||
|
|
||||||
|
@ -732,7 +732,7 @@ for use with @scheme[pin-over].}
|
||||||
[(pin-balloon [balloon balloon?]
|
[(pin-balloon [balloon balloon?]
|
||||||
[base pict?]
|
[base pict?]
|
||||||
[at-pict pict-path?]
|
[at-pict pict-path?]
|
||||||
[find ((pict? pict-path?) . ->* . (real? real?))])
|
[find (pict? pict-path? . -> . (values real? real?))])
|
||||||
pict?])]{
|
pict?])]{
|
||||||
|
|
||||||
Superimposes the pict in @scheme[balloon] onto @scheme[base] to
|
Superimposes the pict in @scheme[balloon] onto @scheme[base] to
|
||||||
|
|
Loading…
Reference in New Issue
Block a user