This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: reexport-from-module


thi <ttn@mingle.glug.org> writes:

> able to use `pi' as well as `exact-pi'.  Hmmm, one doesn't need weird
> syntactic cruft like `reexport-from-module' at all.  (I rescind my
> desire to see it added to guile, having learned something by doing this
> explanation -- thanks!)

No, no, no ! I think this is a very valuable addition to Guile's module
system, since it makes it easier to understand what's going on when you
look at a module.

I find it much easier to look at twenty lines of export, export-syntax and
reexport-from-module 'declarations' to understand the interface of a module
than having to look through hundreds of lines of code with define-public. I
never use define-public for this reason.

The only (very minor) gripe I have is that the name 'reexport-from-module'
is kind of awkward. How about 'export-from' plain and simple ?

David