[Top][All Lists]

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

Re: [Chicken-users] hygienic chicken and load/link/import forms

From: felix winkelmann
Subject: Re: [Chicken-users] hygienic chicken and load/link/import forms
Date: Fri, 13 Jun 2008 22:49:37 +0200

On Fri, Jun 13, 2008 at 10:43 PM, Peter Bex <address@hidden> wrote:
>> Yes, but 'require-library', like 'require-extension', doesn't evaluate
>> its' arguments. Also, not sure what 'require-library', when not at the
>> top-level, means - especially if static linkage is used. Whereas
>> 'require' is suitable for runtime, regardless of linkage mode.
> Aha, so with static linkage you can still load source files with a
> dynamically determined name by using require, but not by using
> require-library?

Yes, you can also load compiled files, unless you link libchicken
statically. "require-library" would be a special form that doesn't
evaluate it's args. The equivalent of "require" has to there anyway,
so I guess it's not a problem to make it available for the user.


reply via email to

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