fix docs for struct
in define-signature
Unofrtunately, `struct` in a signature corresponds to `define-struct`.
This commit is contained in:
parent
5e04ec431f
commit
7bfe2eadab
|
@ -222,7 +222,7 @@ of bindings for import or export:
|
|||
specified by @racket[sig-spec].}
|
||||
|
||||
@item{Each @racket[(struct id (field ...) struct-option ...)] adds
|
||||
all of the identifiers that would be bound by @racket[(struct id
|
||||
all of the identifiers that would be bound by @racket[(define-struct id
|
||||
(field ...) field-option ...)], where the extra option
|
||||
@racket[#:omit-constructor] omits the constructor identifier.}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user