guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modules


From: Marek Kubica
Subject: Re: Modules
Date: Sat, 29 Jan 2011 13:13:15 +0100

On Fri, 28 Jan 2011 17:26:07 +0100
Andy Wingo <address@hidden> wrote:

> On Wed 08 Dec 2010 12:45, Marek Kubica <address@hidden>
> writes:
> 
> > Is there a way to add the current directory to the search path? I
> > think this should be default, just like in Python, otherwise
> > creating modules is a really big hassle.
> 
> As Andreas mentions, -L is the thing.  We don't add the current
> directory to the search path because it is a security issue, for the
> same reason that "." is not in $PATH.

What about "the same directory that the file is in"? The point is, when
writing scripts that become larger than one file, splitting them into
modules becomes immensely painful because the modules cannot find each
other.

regards,
Marek



reply via email to

[Prev in Thread] Current Thread [Next in Thread]