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: Fri, 14 Jul 2017 15:18:07 +0200

> The question is do we want to drop the * export support from 5
> altogether.
>
> Working with the export list is painful without some syntax support. You
> end up repeating every identifier name otherwise.
>
> How about a pair of syntax called export-all and export-none (or
> similar). Every definition lexically after export-all up to a export-none
> is exported and vice-versa.
>

Sorry, but I don't like this - Bracketing export-regions it is too error-prone 
when
moving definitions around.
"*" export is necessary in some situations, and is used in various
eggs that provide wrapper syntax for modules.


felix




reply via email to

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