doc fixes (PRs 9971, 10168)
svn: r17566
This commit is contained in:
parent
d1e979c4c5
commit
dff26c2e22
|
@ -209,7 +209,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 (cons/c symbol? list?))]
|
||||||
[finish-proc ((list?) () #:rest 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) ....)]
|
||||||
|
@ -257,7 +257,7 @@ string and exits and the default @scheme[unknown-proc] raises the
|
||||||
@scheme[exn:fail] exception.
|
@scheme[exn:fail] exception.
|
||||||
|
|
||||||
A @scheme[table] is a list of flag specification sets. Each set is
|
A @scheme[table] is a list of flag specification sets. Each set is
|
||||||
represented as a list of two items: a mode symbol and a list of either
|
represented as a pair of two items: a mode symbol and a list of either
|
||||||
help strings or flag specifications. A mode symbol is one of
|
help strings or flag specifications. A mode symbol is one of
|
||||||
@scheme['once-each], @scheme['once-any], @scheme['multi],
|
@scheme['once-each], @scheme['once-any], @scheme['multi],
|
||||||
@scheme['final], or @scheme['help-labels], with the same meanings as
|
@scheme['final], or @scheme['help-labels], with the same meanings as
|
||||||
|
|
|
@ -452,7 +452,8 @@ used.
|
||||||
|
|
||||||
@defproc[(log [z number?]) number?]{ Returns the natural logarithm of
|
@defproc[(log [z number?]) number?]{ Returns the natural logarithm of
|
||||||
@scheme[z]. The result is normally inexact, but it is
|
@scheme[z]. The result is normally inexact, but it is
|
||||||
@scheme[0] when @scheme[z] is an exact @scheme[1].
|
@scheme[0] when @scheme[z] is an exact @scheme[1]. When @scheme[z]
|
||||||
|
is exact @scheme[0], @exnraise[exn:fail:contract:divide-by-zero].}
|
||||||
|
|
||||||
@mz-examples[(log (exp 1)) (log 2+3i) (log 1)]}
|
@mz-examples[(log (exp 1)) (log 2+3i) (log 1)]}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user