[plt-scheme] r6rs - import difficulties

From: LordGeoffrey (lordgeoffrey at optusnet.com.au)
Date: Wed Sep 9 07:29:46 EDT 2009

That worked (as you expected). Do i need to do that for every file?

Matthias Felleisen wrote:
>
> Did you try
>
>   plt-r6rs --install hello.ss
>
> ?
>
>
>
> On Sep 9, 2009, at 7:18 AM, LordGeoffrey wrote:
>
>> In r6rs mode i can't get my libraries to import.
>>
>> I tried adding the current directory to the collection paths. I get 
>> the following error -
>> import: cannot find suitable library installed (exception: 
>> collection-path: collection not found: "hello" in any of: <list of 
>> paths>
>>
>> version: 4.2.1.4-svn29jul2009
>>
>> The two files are:
>> test-hello.ss
>> #!r6rs
>> (import (hello))
>>
>> hello.ss
>> #!r6rs
>> (library (hello)
>> (export hello-world)
>> (import (rnrs base)
>>         (rnrs io simple))
>> (define (hello-world)
>>   (display "Hello World")
>>   (newline)))
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>



Posted on the users mailing list.