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: Paul Jarc
Subject: Re: loading a module via an absolute path
Date: Mon, 07 Oct 2002 16:05:46 -0400
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Rob Browning <address@hidden> wrote:
> address@hidden (Paul Jarc) writes:
>> which isn't always convenient.  I think I ought to be able to
>> duplicate what I like about use-modules with something like this:
>> (eval '(load "/path/to/foo.scm") new-environment)
>
>   (eval-in-module '(primitive-load "/path/to/foo.scm") some-module)

eval-in-module isn't documented; how does it differ from eval?  (It's
too bad built-in procedures don't have procedure-documentation; that's
something I miss from Python and Emacs.)

>   guile> (use-modules (ice-9 safe-r5rs))
>   guile> (define msm (null-environment 5))

This still doesn't define scheme-report-environment.  Is that in a
different module, or is the documentation ahead of the code here?


paul




reply via email to

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