chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Autoloading optional dependencies


From: Alaric Snell-Pym
Subject: Re: [Chicken-users] Autoloading optional dependencies
Date: Sun, 12 Sep 2010 21:11:45 +0100
User-agent: Mozilla/5.0 (X11; U; NetBSD amd64; en-US; rv:1.9.1.9) Gecko/20100520 Lightning/1.0b2pre Shredder/3.0.4

On 09/12/10 15:49, Felix wrote:

But that wouldn't work inside modules, because you would have to
have access to the import library, right?

If there's macros involved, yes - but then autoloading macros makes no
sense as they're loaded at compile time anyway. When you set up an
autoload, no compile-time loading happens (no import library, etc) so
the macros from the library aren't loaded - but at run time, if you call
a procedure imported from the library, then the library is run-time-loaded.

It's currently working in the ugarit-core library, anyway :-)


cheers,
felix


ABS

--
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/



reply via email to

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