Mark Carter scripsit:

> What's the difference between a module and a library? I get the
> impression that libraries don't have localised "namespaces", can't
> export macros, and are perhaps suitable for linking with C; whereas
> modules are the opposite. Is that right?

A module is a syntax form that packages up definitions (and possibly
expressions), controls which names are exported from it, and specifies
which names from which other modules are imported into it.  An extension
library, or egg, is a packaging device that delivers one or more modules
in a form that can be loaded into a program (including the interpreter)
and imported.  Commonly a library has only one module, but this is not a
requirement.

-- 
I now introduce Professor Smullyan,             John Cowan
who will prove to you that either               co...@ccil.org
he doesn't exist or you don't exist,            http://www.ccil.org/~cowan
but you won't know which.                               --Melvin Fitting

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

Reply via email to