Small changes to the documentation

* Fixed typo in the docs for serialization (serializable-struct/version → serializable-struct/versions)
* Fixed typo in scribble documentation (head pattern → a-pattern)
* Made the order of the argument descriptions match the order of the arguments in the documentation for import and export
This commit is contained in:
Georges Dupéron 2017-01-22 20:18:39 +01:00 committed by Vincent St-Amour
parent cd1e56bfaf
commit 5904cea99a
3 changed files with 10 additions and 10 deletions

View File

@ -408,7 +408,7 @@ information bound to
The @racket[-v0] suffix on the deserialization enables future The @racket[-v0] suffix on the deserialization enables future
versioning on the structure type through versioning on the structure type through
@racket[serializable-struct/version]. @racket[serializable-struct/versions].
When a supertype is supplied as @racket[maybe-super], When a supertype is supplied as @racket[maybe-super],
compile-time information bound to the supertype identifier must compile-time information bound to the supertype identifier must

View File

@ -1183,9 +1183,6 @@ A structure representing a single imported identifier:
@item{@racket[src-mod-path] --- a @tech{module path} (relative to the @item{@racket[src-mod-path] --- a @tech{module path} (relative to the
importing module) for the source of the imported binding.} importing module) for the source of the imported binding.}
@item{@racket[orig-stx] --- a @tech{syntax object} for the source of
the import, used for error reporting.}
@item{@racket[mode] --- the @tech{phase level} of the binding in the @item{@racket[mode] --- the @tech{phase level} of the binding in the
importing module.} importing module.}
@ -1195,6 +1192,9 @@ A structure representing a single imported identifier:
@item{@racket[orig-mode] --- the @tech{phase level} of the @item{@racket[orig-mode] --- the @tech{phase level} of the
binding as exported by the exporting module.} binding as exported by the exporting module.}
@item{@racket[orig-stx] --- a @tech{syntax object} for the source of
the import, used for error reporting.}
]} ]}
@ -1420,14 +1420,14 @@ A structure representing a single imported identifier:
@item{@racket[out-sym] --- the external name of the binding.} @item{@racket[out-sym] --- the external name of the binding.}
@item{@racket[orig-stx] --- a @tech{syntax object} for the source of @item{@racket[mode] --- the @tech{phase level} of the binding in the
the export, used for error reporting.} exporting module.}
@item{@racket[protect?] --- indicates whether the identifier should @item{@racket[protect?] --- indicates whether the identifier should
be protected (see @secref["modprotect"]).} be protected (see @secref["modprotect"]).}
@item{@racket[mode] --- the @tech{phase level} of the binding in the @item{@racket[orig-stx] --- a @tech{syntax object} for the source of
exporting module.} the export, used for error reporting.}
]} ]}

View File

@ -1080,8 +1080,8 @@ definition in a @racket[~do] block.
@specsubform[(@#,def[~post a] A-pattern)]{ @specsubform[(@#,def[~post a] A-pattern)]{
Like the @Spattern version, @ref[~post s], but matches a head Like the @Spattern version, @ref[~post s], but contains only
pattern instead. @tech{@Apatterns}.
} }