diff --git a/collects/scribblings/reference/cmdline.scrbl b/collects/scribblings/reference/cmdline.scrbl index 6dc14fb86b..237c72a1bc 100644 --- a/collects/scribblings/reference/cmdline.scrbl +++ b/collects/scribblings/reference/cmdline.scrbl @@ -209,7 +209,7 @@ Example: @defproc[(parse-command-line [name (or/c string? path?)] [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)] [arg-help-strs (listof string?)] [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. 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 @scheme['once-each], @scheme['once-any], @scheme['multi], @scheme['final], or @scheme['help-labels], with the same meanings as diff --git a/collects/scribblings/reference/numbers.scrbl b/collects/scribblings/reference/numbers.scrbl index 677c0adc63..ab4b086697 100644 --- a/collects/scribblings/reference/numbers.scrbl +++ b/collects/scribblings/reference/numbers.scrbl @@ -452,7 +452,8 @@ used. @defproc[(log [z number?]) number?]{ Returns the natural logarithm of @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)]}