[racket] error while loading simply.scm
0. Racket is not Scheme and this an example where the difference shows up.
1. Use the legacy language Pretty Big:
Welcome to DrRacket, version 5.90.0.9--2013-10-15(efaa5bd1/d) [3m].
Language: Pretty Big.
> (load "functions.scm")
>
2. Even then, some functions are simply not defined in "Scheme".
Some of the functions have slightly different names in Racket.
Some need definitions from what I can tell. All straightforwar
but I am out of time.
I have commented them out in the global definition *the-functions*
and got a loadable file. Attached
3. Since the file seems to come w/o a test suite, I am not sure
whether it works.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: functions.scm
Type: application/octet-stream
Size: 7666 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20131016/35185709/attachment.obj>
-------------- next part --------------
On Oct 16, 2013, at 6:02 PM, Piscium <groknok at gmail.com> wrote:
> I am reading the book Simply Scheme that makes use of some Scheme source files.
>
> One such source file is "simply.scm":
> ftp://ftp.cs.berkeley.edu/pub/scheme/functions.scm
>
> I put this in the DrRacket definitions area:
> #lang racket
> (load "/home/myself/develt/scheme/simply.scm")
>
> When I clicked the Run button I got this:
> develt/scheme/simply.scm:8:0: #%top-interaction: unbound identifier;
> also, no #%app syntax transformer is bound in: #%top-interaction
>
> However I am able to load the same file in Gambit without an error.
>
> I tried different languages settings in DrRacket without success.
>
> Any ideas?
>
> Thanks
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users