minor Scribbl{e,ings} tweaks

svn: r8244
This commit is contained in:
Matthew Flatt 2008-01-07 12:18:53 +00:00
parent 0209f1aa06
commit a4cd1cdbae
3 changed files with 5 additions and 5 deletions

View File

@ -465,7 +465,7 @@
(make-styled-paragraph (list (make-element "refcolumn"
(list
(make-element "refcontent"
c))))
(decode-content c)))))
"refpara"))
;; ----------------------------------------

View File

@ -219,8 +219,8 @@ scheme/gui
@margin-note{Note that if you really want to ask a yes-or-no
question via a GUI, you should use
@scheme[message-box/custom] (and generally speaking,
avoiding the words ``yes'' and ``no'' in your dialog is a
good idea, too ...)}
avoiding the responses ``yes'' and ``no'' in your dialog is a
good idea, too ...).}
The contract for @scheme[ask-yes-or-no-question] uses our
old friend the @scheme[->] contract combinator. Just like

View File

@ -348,7 +348,7 @@ The arguments implement the port as follows:
@scheme[peek-byte-or-special], then the @exnraise[exn:fail:contract].}
@begin[
#readerscribble/comment-reader
#reader scribble/comment-reader
[examples
;; A port with no input...
;; Easy: @scheme[(open-input-bytes #"")]
@ -942,7 +942,7 @@ procedures.
}
@begin[
#readerscribble/comment-reader
#reader scribble/comment-reader
[examples
;; A port that writes anything to nowhere:
(define /dev/null-out