[racket] beginner's question on learning Scheme
Matthias Felleisen <matthias at ccs.neu.edu> writes:
> Open DrRacket, choose Language, click radio button "Use the language
> declared in the source", type
>
> #lang r6rs
Once you do this, IIRC, all of the examples in TSPL4 work in DrRacket
except for those that use set-car! and set-cdr!, since Racket (by
design) does not allow mutable pairs.
I played some with trying to use those examples with Racket's mcons
mutable pairs, but didn't find any clean way to get there from here,
since enough other things get broken by the fact that cons pairs and
mcons pairs are not interchangeable.
--
Jim Wise
jwise at draga.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 184 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20100825/d27007af/attachment.sig>