On Fri, Jun 13, 2008 at 10:43 PM, Peter Bex <[EMAIL PROTECTED]> 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.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to