I did try some searching before writing the e-mail - without success.
I did some more searching today and found what looks to be an alternative ftp address:
-
ftp://anarres.cs.berkeley.edu/pub/scheme/ (original link, broken)
-
ftp://ftp.cs.berkeley.edu/pub/scheme (new, working, link via
http://www.hashcollision.org/simply-scheme/index.html)
I e-mailed Brian Harvey (one of the authors of Simply Scheme) about the broken link. He was not aware of it and appreciated the info.
(I would never have done stuff like this - reporting a mistake to the author - before I found FI and
curi.us btw.)
The new link contains three additional programs not listed in Appendix A of Simply Scheme.
—
Steps taken:
- I wrote the following in the DrRacket definitions window as recommended on
http://www.hashcollision.org/simply-scheme/index.html
> #lang planet dyoo/simply-scheme:2
> (se (butlast (bf "this"))
> "world”)
This did not solve my problem with experiment 2.
Appendix A of Simply Scheme says:
> In particular, the file simply.scm must be loaded into Scheme to allow anything in the book to work.
- I have tried to load the simply.scm file from the new ftp link. That gives me the following error:
> (if (equal? 'foo (symbol->string 'foo))
> (error "Simply.scm already loaded!!")
> #f)
- I have web searched for “change definition Scheme”, 'error "Your error is" “string”’, and “DrRacket change definition”
- I have found nothing helpful (at my current level of understanding)
- I have looked for a file named “simply.scm” in the installed DrRacket folder locally but have not found any such file
- I have re-read Appendix A
After adding the “#lang …” part from above I get the below error message on every relaunch of DrRacket.
- I have deleted DrRacket (with appCleaner) and reinstalled it. The error message still occurs on relaunch.
> Error in phase 2 for tool #<path:/Users/silverwolf/Library/Racket/planet/300/7.4/cache/dyoo/simply-scheme.plt/2/2/tool.rkt>; #f
>
> drracket:language-configuration:add-language: found two languages with the same result from get-language-numbers: (-500 0), ("Teaching Languages" "Simply Scheme") and ("Teaching Languages" "Simply Scheme")
> context...:
> loop
> /Applications/Racket v7.4/share/pkgs/drracket/drracket/private/language-configuration.rkt:111:4: unpack267
> .../more-scheme.rkt:261:28
> [repeats 22 more times]
> /Applications/Racket v7.4/share/pkgs/drracket/drracket/private/tools.rkt:432:0: run-phases
> .../racket/unit.rkt:996:20
> "/Applications/Racket v7.4/share/pkgs/drracket/drracket/tool-lib.rkt": [running body]
> temp37_0
> for-loop
> run-module-instance!125
> "/Applications/Racket v7.4/share/pkgs/drracket/drracket/private/drracket-normal.rkt": [running body]
> temp37_0
> for-loop
> run-module-instance!125
> "/Applications/Racket v7.4/share/pkgs/drracket/drracket/drracket.rkt": [running body]
> temp37_0
> ...
—
Next step:
I do not know what next step to take other than a wild guess.
Should I switch from DrRacket? I do think that *I* am the problem here, not the interpreter (DrRacket).
How should I think when I run into similar situations to not get stuck like this?
I will revisit my Scheme problems tomorrow.