As the Wikipedia article explains, begin
in Scheme is a library form that can be rewritten using more fundamental forms like lambda
.
But how do you rewrite a begin
, especially considering the following?
x
===> error: undefined identifier: x
(begin (define x 28) x)
===> 28
x
===> 28