[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] importing modules of not yet loaded extensions
From: |
Moritz Heidkamp |
Subject: |
Re: [Chicken-hackers] importing modules of not yet loaded extensions |
Date: |
Sun, 12 Dec 2010 02:08:49 +0100 |
Felix <address@hidden> writes:
> Being able to import a module without requiring the loading of the
> libary is necessary to allow cross-compilation. Chicken separates this
> and I consider it a feature.
Right, Christian pointed this out, too. I wonder though: Are modules
which use `require-extension' cross-compilable then at all? Or does the
compiler somehow prevent the actual loading from taking place,
effectively replacing them by just an `import'? If that is indeed the
case, why not make `import' behave like `require-extension' in the first
place? Or am I missing something obvious?
> Remember the mantra:
>
> If in doubt, use `require-extension'.
Amen!
Good night for now :-)
Moritz