> On Jan 25, 2018, at 16:45, Robby Findler <ro...@eecs.northwestern.edu>
> Isn't the last form already required to not be a definition?
In that example, yes, but not always, and splicing-parameterize can’t
be sure one way or the other. In this example, containing exclusively
definitions is completely legal:
(splicing-parameterize ([my-param #t])
(define x (my-param)))
I suppose it would be possible to force users of splicing-parameterize
to make the final body form an expression, but the other forms from
racket/splicing don’t have that restriction, so it would be a bit odd
to have different behavior here.
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.