From c868c7b68da58e3cb3247454986beb238f52de3f Mon Sep 17 00:00:00 2001 From: Stephen Chang Date: Tue, 27 Oct 2015 15:45:13 -0400 Subject: [PATCH] doc typos --- pkgs/racket-doc/scribblings/reference/strings.scrbl | 2 +- pkgs/racket-doc/scribblings/style/unit.scrbl | 2 +- pkgs/racket-doc/syntax/scribblings/parse/stxclasses.scrbl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/racket-doc/scribblings/reference/strings.scrbl b/pkgs/racket-doc/scribblings/reference/strings.scrbl index a2abd656be..9439bb362a 100644 --- a/pkgs/racket-doc/scribblings/reference/strings.scrbl +++ b/pkgs/racket-doc/scribblings/reference/strings.scrbl @@ -91,7 +91,7 @@ Returns an immutable string with the same content as characters long, and that contains the same characters as @racket[str] from @racket[start] inclusive to @racket[end] exclusive. The first position in a string corresponds to @racket[0], so - the @racket[start] and @racket[end] arguments so they must be less than or + the @racket[start] and @racket[end] arguments must be less than or equal to the length of @racket[str], and @racket[end] must be greater than or equal to @racket[start], otherwise the @exnraise[exn:fail:contract]. diff --git a/pkgs/racket-doc/scribblings/style/unit.scrbl b/pkgs/racket-doc/scribblings/style/unit.scrbl index ed8329ae00..56cea86224 100644 --- a/pkgs/racket-doc/scribblings/style/unit.scrbl +++ b/pkgs/racket-doc/scribblings/style/unit.scrbl @@ -482,7 +482,7 @@ mutually recursive functions with modules. This capability is unique to @image["mut-rec-contracts.png" #:scale .8]{Mutually recursive functions with contracts} In contrast, submodules act exactly like plain modules when it comes to -contract boundaries. Like @racket[define/contract], a submodue establishes +contract boundaries. Like @racket[define/contract], a submodule establishes a contract boundary between itself and the rest of the module. Any value flow between a client module and the submodule is governed by contracts. Any value flow within the submodule is free of any constraints. diff --git a/pkgs/racket-doc/syntax/scribblings/parse/stxclasses.scrbl b/pkgs/racket-doc/syntax/scribblings/parse/stxclasses.scrbl index 4681ba3286..7d7a9c766a 100644 --- a/pkgs/racket-doc/syntax/scribblings/parse/stxclasses.scrbl +++ b/pkgs/racket-doc/syntax/scribblings/parse/stxclasses.scrbl @@ -134,7 +134,7 @@ pattern}. @defform*[#:literals (pattern) [(define-splicing-syntax-class name-id stxclass-option ... stxclass-variant ...+) - (define-splicing-syntax-class (name-id kw-formals) stxclass-option ... + (define-splicing-syntax-class (name-id . kw-formals) stxclass-option ... stxclass-variant ...+)]]{ Defines @racket[name-id] as a @deftech{splicing syntax class},