Fix grammar for rest args in lambda:.
Closes PR 10976
This commit is contained in:
parent
90f015408c
commit
c2ac8046c4
|
@ -267,7 +267,8 @@ Type-annotated versions of
|
||||||
|
|
||||||
@defform/subs[(lambda: formals . body)
|
@defform/subs[(lambda: formals . body)
|
||||||
([formals ([v : t] ...)
|
([formals ([v : t] ...)
|
||||||
([v : t] ... . [v : t])])]{
|
([v : t] ... . [v : t *])
|
||||||
|
([v : t] ... . [v : t ...])])]{
|
||||||
A function of the formal arguments @racket[v], where each formal
|
A function of the formal arguments @racket[v], where each formal
|
||||||
argument has the associated type. If a rest argument is present, then
|
argument has the associated type. If a rest argument is present, then
|
||||||
it has type @racket[(Listof t)].}
|
it has type @racket[(Listof t)].}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user