On Wed, Oct 8, 2008 at 12:45 PM, Jörg F. Wittenberger <[EMAIL PROTECTED]> wrote: > > Yesterday I tried to convert my code to the module system. But that > failed. For the time being I managed to get along without modules. > > I've got the impression - though this is probably wrong - that I can > either convert everything into modules or nothing at all.
You don't have to. But if you use extensions that provide modules, you'll have to add the proper "import" forms. > > How do I mix modules and plain code? I'd like to convert them one by > one. > Just import from the modules you'd like to use (at toplevel). If you convert parts of your application code to modules, you have to make sure that the inter-dependency (import) tree of modules is acyclic. This may be difficult with code that lived previously in one big (global) namespace. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
