Add docs about optional type annotation to let/ec and let/ec:.
This commit is contained in:
parent
64a653696c
commit
eb8c2d33b1
|
@ -99,8 +99,10 @@ Type-annotated versions of
|
|||
|
||||
@deftogether[[
|
||||
@defform[(let/cc: v : t . body)]
|
||||
@defform[(let/ec: v : t . body)]]]{Type-annotated versions of
|
||||
@racket[let/cc] and @racket[let/ec].}
|
||||
@defform[(let/ec: v : t . body)]]]{
|
||||
Type-annotated versions of @racket[let/cc] and @racket[let/ec].
|
||||
As with @racket[let:], the type annotation is optional.
|
||||
}
|
||||
|
||||
@defform*[[(define: v : t e)
|
||||
(define: (a ...) v : t e)
|
||||
|
|
|
@ -111,7 +111,8 @@ Type-annotated versions of @|letrec-id|, @|let*-id|, @|let-values-id|,
|
|||
@deftogether[[
|
||||
@defform[(let/cc v : t . body)]
|
||||
@defform[(let/ec v : t . body)]]]{
|
||||
Type-annotated versions of @|let/cc-id| and @|let/ec-id|.
|
||||
Type-annotated versions of @|let/cc-id| and @|let/ec-id|. As with
|
||||
@racket[let], the type annotation is optional.
|
||||
}
|
||||
|
||||
@section{Anonymous Functions}
|
||||
|
|
Loading…
Reference in New Issue
Block a user