`block' doesn't have this limitation
This commit is contained in:
parent
3965eab9c8
commit
c22735ea49
|
@ -13,15 +13,16 @@
|
|||
@defform[(block defn-or-expr ...)]{
|
||||
|
||||
Supports a mixture of expressions and mutually recursive definitions,
|
||||
much like a @scheme[module] body. Unlike in a @scheme[module],
|
||||
however, syntax definitions cannot be used to generate other immediate
|
||||
definitions (though they can be used for expressions).
|
||||
as in a @scheme[module] body.
|
||||
|
||||
The result of the @scheme[block] form is the result
|
||||
of the last @scheme[defn-or-expr] if it is an expression,
|
||||
@|void-const| otherwise. If no @scheme[defn-or-expr] is provided
|
||||
(after flattening @scheme[begin] forms), the result is @|void-const|.
|
||||
|
||||
The final @scheme[defn-or-expr] is executed in tail position, if it is
|
||||
an expression.
|
||||
|
||||
|
||||
@examples[#:eval ev
|
||||
(define (f x)
|
||||
|
|
Loading…
Reference in New Issue
Block a user