
30 Nov
2009
30 Nov
'09
10:02 a.m.
On Mon, 2009-11-30 at 13:36 +0100, Bas van Dijk wrote:
On Mon, Nov 30, 2009 at 11:35 AM, Duncan Coutts
wrote: Ah but flags are not allowed to change the public exported API of a library.
I wasn't aware of this. Where is this documented?
Hmm, I'm not sure it is actually. It should probably be mentioned in the user guide section on conditionals. You can tell it's wrong because there is no way for dependent packages to specify that they need your package to export, say the Text instance.
The reason I ask is because I have a small package on hackage that violates this:
It will fail if you install packages in the "wrong" order. To users this will seem essentially random. Duncan