chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Add unexport form for modules


From: felix . winkelmann
Subject: Re: [Chicken-hackers] [PATCH] Add unexport form for modules
Date: Thu, 08 Jun 2017 11:55:34 +0200

> On Thu, Jun 08, 2017 at 11:24:44AM +0300, megane wrote:
> > Reexport is nice if you have a big module (say a graphics library) you
> > want to organize into smaller chunks internally.
>
> Yeah, but why can't "export" (or the export list) do that job?

Because you have to import first. IIRC, reexport imports + exports at
the same time.

BTW, regarding "*" export lists: this is handy when you generate modules.
We use this in s48-modules, I think, where one module exports all identifiers
and interface modules reexport then particular "views" of the base module.


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]