guile-user
[Top][All Lists]
Advanced

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

Re: loading a module via an absolute path


From: Marius Vollmer
Subject: Re: loading a module via an absolute path
Date: 19 Oct 2002 00:26:55 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

address@hidden (Paul Jarc) writes:

> Is there any chance of extending use-modules (or providing a
> cooperating procedure) to allow things like:
>
> (use-modules ("/path/to/foo.scm" :select ...))

Could you use the this?

  (load "/path/to/foo.scm")
  (use-modules (NAME :select ...))

This will require you to know the name of the module that is defined
in foo.scm, but I find this to be actually cleaner, since files and
modules are not the same.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

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