minor doc fixes

This commit is contained in:
Ryan Culpepper 2011-12-18 02:41:38 -07:00
parent 933965b2c2
commit 59beeb2e14
7 changed files with 24 additions and 21 deletions

View File

@ -627,7 +627,7 @@ ODBC's DSNs.
data-source?] data-source?]
@defproc[(mysql-data-source @defproc[(mysql-data-source
[#:user user string? @#,absent] [#:user user string? @#,absent]
[#:database database string? @#,absent] [#:database database (or/c string? #f) @#,absent]
[#:server server string? @#,absent] [#:server server string? @#,absent]
[#:port port exact-positive-integer? @#,absent] [#:port port exact-positive-integer? @#,absent]
[#:socket socket (or/c path-string? 'guess #f) @#,absent] [#:socket socket (or/c path-string? 'guess #f) @#,absent]

View File

@ -71,9 +71,10 @@ not supported.
As of version 5.5.7, MySQL supports As of version 5.5.7, MySQL supports
@hyperlink["http://dev.mysql.com/doc/mysql-security-excerpt/5.5/en/pluggable-authentication.html"]{authentication @hyperlink["http://dev.mysql.com/doc/mysql-security-excerpt/5.5/en/pluggable-authentication.html"]{authentication
plugins}. The only plugin currently supported by this library is plugins}. The only plugins currently supported by this library are
@tt{mysql_native_password} (the default), which corresponds to the @tt{mysql_native_password} (the default) and @tt{mysql_old_password},
password authentication mechanism used since version 4.1. which corresponds to the password authentication mechanisms used since
version 4.1 and before 4.1, respectively.
@section[#:tag "sqlite3-requirements"]{SQLite Requirements} @section[#:tag "sqlite3-requirements"]{SQLite Requirements}

View File

@ -43,7 +43,7 @@ syntax properties, such as lexical binding information and source
location. location.
@section{Macro stepper} @section{Macro Stepper}
@defmodule[macro-debugger/stepper] @defmodule[macro-debugger/stepper]
@ -62,7 +62,7 @@ single module declaration, and opens a macro stepper frame for
stepping through the expansion. stepping through the expansion.
} }
@section{Macro expansion tools} @section{Macro Expansion Tools}
@defmodule[macro-debugger/expand] @defmodule[macro-debugger/expand]
@ -112,7 +112,7 @@ result as the original syntax.
} }
@section{Macro stepper API for macros} @section{Macro Stepper API for Macros}
@defmodule[macro-debugger/emit] @defmodule[macro-debugger/emit]
@ -169,7 +169,7 @@ of macro hiding.
} }
@section{Macro stepper text interface} @section{Macro Stepper Text Interface}
@defmodule[macro-debugger/stepper-text] @defmodule[macro-debugger/stepper-text]
@ -204,7 +204,7 @@ of macro hiding.
} }
@section{Syntax browser} @section{Syntax Browser}
@defmodule[macro-debugger/syntax-browser] @defmodule[macro-debugger/syntax-browser]
@ -225,7 +225,7 @@ of macro hiding.
} }
@section{Using the macro stepper} @section{Using the Macro Stepper}
@subsection{Navigation} @subsection{Navigation}
@ -238,7 +238,7 @@ provides ``Previous term'' and ``Next term'' buttons to go up and down in
the list of expansions. Horizontal lines delimit the current expansion the list of expansions. Horizontal lines delimit the current expansion
from the others. from the others.
@subsection{Macro hiding} @subsection{Macro Hiding}
Macro hiding lets one see how expansion would look if certain macros Macro hiding lets one see how expansion would look if certain macros
were actually primitive syntactic forms. The macro stepper skips over were actually primitive syntactic forms. The macro stepper skips over
@ -259,7 +259,7 @@ Macro hiding, even with no macros marked opaque, also hides certain
other kinds of steps: internal defines are not rewritten to letrecs, other kinds of steps: internal defines are not rewritten to letrecs,
begin forms are not spliced into module or block bodies, etc. begin forms are not spliced into module or block bodies, etc.
@section{Using the syntax browser} @section{Using the Syntax Browser}
@subsection{Selection} @subsection{Selection}
@ -276,7 +276,7 @@ object in the properties panel on the right, when that panel is
shown. The selected syntax also determines the highlighting done by shown. The selected syntax also determines the highlighting done by
the secondary partitioning (see below). the secondary partitioning (see below).
@subsection{Primary partition} @subsection{Primary Partition}
The primary partition is indicated by foreground color. The primary partition is indicated by foreground color.
@ -296,7 +296,7 @@ different environments.
@;@example[(bound-identifier=? (let ([x 1]) #'x) #'x)] @;@example[(bound-identifier=? (let ([x 1]) #'x) #'x)]
@subsection{Secondary partitioning} @subsection{Secondary Partitioning}
The user may select a secondary partitioning through the Syntax The user may select a secondary partitioning through the Syntax
menu. This partitioning applies only to identifiers. When the user menu. This partitioning applies only to identifiers. When the user
@ -328,7 +328,7 @@ selected syntax object. The properties pane has two tabbed pages:
} }
] ]
@subsection{Interpreting syntax} @subsection{Interpreting Syntax}
The binding information of a syntax object may not be the same as The binding information of a syntax object may not be the same as
the binding structure of the program it represents. The binding the binding structure of the program it represents. The binding

View File

@ -3,7 +3,7 @@
scribble/manual scribble/manual
(for-label scribble/base)) (for-label scribble/base))
@title[#:style '(toc) #:tag "unstable-gui"]{GUI libraries} @title[#:style '(toc) #:tag "unstable-gui"]{GUI Libraries}
@local-table-of-contents[#:style 'immediate-only] @local-table-of-contents[#:style 'immediate-only]

View File

@ -16,7 +16,7 @@ This module provides tools for manipulating hash tables.
[h hash?] ... [h hash?] ...
[#:combine combine [#:combine combine
(-> any/c any/c any/c) (-> any/c any/c any/c)
(lambda _ (error 'hash-union ...))] (lambda _ (error 'hash-union ....))]
[#:combine/key combine/key [#:combine/key combine/key
(-> any/c any/c any/c any/c) (-> any/c any/c any/c any/c)
(lambda (k a b) (combine a b))]) (lambda (k a b) (combine a b))])
@ -30,7 +30,9 @@ key @racket[k] and value @racket[v], if a mapping from @racket[k] to some value
@defexamples[ @defexamples[
#:eval the-eval #:eval the-eval
(hash-union (make-immutable-hash '([1 . one])) (make-immutable-hash '([2 . two])) (make-immutable-hash '([3 . three]))) (hash-union (make-immutable-hash '([1 . one]))
(make-immutable-hash '([2 . two]))
(make-immutable-hash '([3 . three])))
(hash-union (make-immutable-hash '([1 . (one uno)] [2 . (two dos)])) (hash-union (make-immutable-hash '([1 . (one uno)] [2 . (two dos)]))
(make-immutable-hash '([1 . (ein une)] [2 . (zwei deux)])) (make-immutable-hash '([1 . (ein une)] [2 . (zwei deux)]))
#:combine/key (lambda (k v1 v2) (append v1 v2))) #:combine/key (lambda (k v1 v2) (append v1 v2)))
@ -42,7 +44,7 @@ key @racket[k] and value @racket[v], if a mapping from @racket[k] to some value
[h hash?] ... [h hash?] ...
[#:combine combine [#:combine combine
(-> any/c any/c any/c) (-> any/c any/c any/c)
(lambda _ (error 'hash-union ...))] (lambda _ (error 'hash-union ....))]
[#:combine/key combine/key [#:combine/key combine/key
(-> any/c any/c any/c any/c) (-> any/c any/c any/c any/c)
(lambda (k a b) (combine a b))]) (lambda (k a b) (combine a b))])

View File

@ -20,7 +20,7 @@ Developers of unstable libraries must follow the guidelines in
@;{--------} @;{--------}
@section[#:tag "guidelines"]{Guidelines for developing @racketmodname[unstable] libraries} @section[#:tag "guidelines"]{Guidelines for Developing @racketmodname[unstable] Libraries}
Any collection developer may add modules to the Any collection developer may add modules to the
@racketmodname[unstable] collection. @racketmodname[unstable] collection.

View File

@ -5,7 +5,7 @@
@(define the-eval (make-base-eval)) @(define the-eval (make-base-eval))
@(the-eval '(require racket/contract (for-syntax racket/base unstable/wrapc))) @(the-eval '(require racket/contract (for-syntax racket/base unstable/wrapc)))
@title[#:tag "wrapc"]{Contracts for macro subexpressions} @title[#:tag "wrapc"]{Contracts for Macro Subexpressions}
This library provides a procedure @racket[wrap-expr/c] for applying This library provides a procedure @racket[wrap-expr/c] for applying
contracts to macro subexpressions. contracts to macro subexpressions.