doc typos
This commit is contained in:
parent
d589f6a8ed
commit
c868c7b68d
|
@ -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].
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue
Block a user