guile-user
[Top][All Lists]
Advanced

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

Re: dynamic module creation


From: Andy Wingo
Subject: Re: dynamic module creation
Date: Sun, 01 Feb 2009 13:04:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On Sun 01 Feb 2009 08:58, Julian Graham <address@hidden> writes:

> Is there some way to get the module-creation
> behavior of `resolve-module' but also be able to include stuff from
> other modules in the resulting environment?

guile> (resolve-module '(foo))
$1 = #<directory (foo) b7f11bb0>
guile> (beautify-user-module! $1)
$2 = (#<interface (guile) b7f8aef0>)
guile> (module-ref $1 'sin)
$3 = #<procedure sin (z)>
guile> 

Cheers,

Andy
-- 
http://wingolog.org/




reply via email to

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