[plt-scheme] Problems with the require expression in PLT-Scheme 4.0
> 2008/6/16 Stephen De Gabrielle <stephen at degabrielle.name
> <mailto:stephen at degabrielle.name>>:
>
> Sorry, I can't replicate your error.
>
> your require works fine for me in a two-line consisting of
> #lang scheme
> (require (planet "sicp.ss" ("soegaard" "sicp.plt" 1 0)))
>
> Does the two-liner work for you?
>
Ewulo wrote:
> Nope it did not work, re-installed everything again but still no
show; also tried all language settings and no luck.
> I do not actually understand the what the error means
> "string->number: expects argument of type <string>; given #f"
> Are you using 4.0?
I just tried the following in v400 without any problems.
> (require (planet "sicp.ss" ("soegaard" "sicp.plt" 1 1)))
> (paint (number->painter 0))
> (paint diagonal-shading)
> (paint-hires (below (beside diagonal-shading
(rotate90 diagonal-shading))
(beside (rotate270 diagonal-shading)
(rotate180 diagonal-shading))))
> (paint einstein)
Ewulo, just checking:
1. Have you chosen the "module" language?
2. Are you using version 1.1 of sicp.plt ?
3. Which file and line does the error "string->number: expects
argument of type <string>; given #f"
refer to?
4. Which platform are you using?
--
Jens Axel Søgaard