[Larceny-users] finding libraries

Jon Wells jon at bigbang.com.au
Tue Dec 9 22:18:20 EST 2008


On Mon, 2008-12-08 at 23:11 -0500, William D Clinger wrote:

> v0.97 is also expected to allow
> 
>     <dir-in-path>/uriel/lang/compat.larceny.sls
> 

Slightly off topic but it seems to me that burying the name of an
implementation in a file name as a mechanism for locating that
implementation's version of a library is kinda less than complete.

Has there ever been any discussion of allowing import clauses to appear
anywhere other than the toplevel...

So one could...

   (import (rnrs))
          :
   (if <some-arbitrary-condition>
      (import (a guff))
      (import (different guff)))
          :
   <refer to things exported by guff>

Or should that work & I've misunderstood the library section of r6rs
again?

jon.

 





More information about the Larceny-users mailing list