On Sun, Apr 07, 2019 at 04:05:53AM +0000, elf wrote:
> Question: does it handle circular imports? Is 
> module a -> import b
> module b -> import a 
> an error? Should it be?

AFAIK this isn't possible because you can't import modules
that the compiler doesn't know about.  So when a imports b,
you will get a message that b does not exist (yet).

The issue with a module importing itself was that the module
is registered as soon as the (module foo ...) is seen, which
meant it was able to import itself.

Cheers,
Peter

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to