fix minor doc bugs

This commit is contained in:
Matthew Flatt 2010-05-24 06:57:16 -06:00
parent c3f5aed473
commit 0b8a664d78
2 changed files with 4 additions and 4 deletions

View File

@ -253,8 +253,8 @@ otherwise.}
@mz-examples[(remainder 10 3) (remainder -10.0 3) (remainder 10.0 -3) (remainder -10 -3) (remainder +inf.0 3)]} @mz-examples[(remainder 10 3) (remainder -10.0 3) (remainder 10.0 -3) (remainder -10 -3) (remainder +inf.0 3)]}
@defproc[(quotient/remainder [n integer?] [m integer?]) (values number? number?)]{ Returns @defproc[(quotient/remainder [n integer?] [m integer?]) (values integer? integer?)]{ Returns
@racket[(values (quotient n m) (remainder n m))], but the combination is computed @racket[(values (quotient n m) (remainder n m))], but the combination may be computed
more efficiently than separate calls to @racket[quotient] and @racket[remainder]. more efficiently than separate calls to @racket[quotient] and @racket[remainder].
@mz-examples[ @mz-examples[
@ -262,7 +262,7 @@ otherwise.}
]} ]}
@defproc[(modulo [n integer?] [m integer?]) number?]{ Returns @defproc[(modulo [n integer?] [m integer?]) integer?]{ Returns
@racket[_q] with the same sign as @racket[m] where @racket[_q] with the same sign as @racket[m] where
@itemize[ @itemize[

View File

@ -20,7 +20,7 @@ In addition to the parameters defined in this section,
@scheme[pretty-print] conforms to the @scheme[print-graph], @scheme[pretty-print] conforms to the @scheme[print-graph],
@scheme[print-struct], @scheme[print-hash-table], @scheme[print-struct], @scheme[print-hash-table],
@scheme[print-vector-length], @scheme[print-box], and @scheme[print-vector-length], @scheme[print-box], and
@scheme[print-as-quasiquote] parameters. @scheme[print-as-expression] parameters.
The pretty printer detects structures that have the The pretty printer detects structures that have the
@scheme[prop:custom-write] property and it calls the corresponding @scheme[prop:custom-write] property and it calls the corresponding