Re: Modified load-path proposal

2005-10-31 Thread Kevin Ryde
Neil Jerram <[EMAIL PROTECTED]> writes: > > In practice I would guess not. Most distribution-managed packages > would go into /usr/share/guile, and most home-built packages into > /usr/local/share/guile, I'd guess. What is your concern, though? Mainly that I think you can get what you want from

Re: new slib and guile 1.6.7

2005-10-31 Thread Kevin Ryde
Greg Troxel <[EMAIL PROTECTED]> writes: > > (define-module (ice-9 slib) > :export (slib:load > implementation-vicinity > library-vicinity > home-vicinity > scheme-implementation-type > scheme-implementation-version I would worry very much that these a

Re: new slib and guile 1.6.7

2005-10-31 Thread Greg Troxel
I got it to work, and it is non-global. As I see it, the ice-9 slib module has a bunch of definitions, and programs that want to use them, including require, have to use-module it. This is how it always worked. I ended up doing it the same way, except using guile.init instead of the homegrown co

Re: Modified load-path proposal

2005-10-31 Thread Neil Jerram
Thien-Thi Nguyen <[EMAIL PROTECTED]> writes: >From: Neil Jerram <[EMAIL PROTECTED]> >Date: Sun, 30 Oct 2005 22:59:32 + > >Not sure what you mean by "to get around it". Do you mean that >someone will change the design so that the interface does the >enforcement itself; or t

Re: Modified load-path proposal

2005-10-31 Thread Neil Jerram
Kevin Ryde <[EMAIL PROTECTED]> writes: > What advantage is this over putting a symlink in /usr/share/guile/site > to point to this alternate location? Nothing really compelling, perhaps, but... - some OSs don't have symlinks (i.e. Windows) - the symlink approach doesn't work if a package instal

Re: Modified load-path proposal

2005-10-31 Thread Tomas Zerolo
On Mon, Oct 31, 2005 at 10:48:43AM +1100, Kevin Ryde wrote: > Neil Jerram <[EMAIL PROTECTED]> writes: > > > > In the init.d approach [...] > What advantage is this over putting a symlink in /usr/share/guile/site > to point to this alternate location? Something similar to what the /etc/init.d thin

Re: Modified load-path proposal

2005-10-31 Thread Tomas Zerolo
On Sun, Oct 30, 2005 at 03:37:33PM -0500, Thien-Thi Nguyen wrote: >From: Neil Jerram <[EMAIL PROTECTED]> >Date: Sun, 30 Oct 2005 18:04:58 + > >We could enforce this by [...] >I'd appreciate hearing your thoughts (again). > > if your design requires enforcement, [...] Neil con

Re: Modified load-path proposal

2005-10-31 Thread Thien-Thi Nguyen
From: Neil Jerram <[EMAIL PROTECTED]> Date: Sun, 30 Oct 2005 22:59:32 + Not sure what you mean by "to get around it". Do you mean that someone will change the design so that the interface does the enforcement itself; or that if the interface is precise about what it allows,