[plt-scheme] sicp exercise 2.23
On Apr 28, 2008, at 11:04 PM, Jason Wang wrote:
>
> However, my problem is that SICP hasn't introduced begin yet...
I don't have a copy of SICP handy (I guess I can just tear up my
Schemer Membership Card right now...), but "begin" seems to me to be
the natural choice to express what you want; it's true that there are
other constructs that behave in a begin-like way, and in fact you can
write begin as a function (for a fixed number of arguments) quite
easily, but I would suggest just using 'begin', especially as you've
been through HtDP already.
John Clements
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20080429/418fc438/attachment.p7s>