proposal #2254: have Control.Arrow re-export (>>>) and (<<<)
Simon Peyton-Jones
simonpj at microsoft.com
Thu May 1 14:34:38 EDT 2008
Quite right. Please a bug report with a repo case if there is a bug.
Thanks
Simon
| -----Original Message-----
| From: libraries-bounces at haskell.org [mailto:libraries-bounces at haskell.org] On
| Behalf Of Niklas Broberg
| Sent: 01 May 2008 19:30
| To: libraries at haskell.org
| Subject: Re: proposal #2254: have Control.Arrow re-export (>>>) and (<<<)
|
| > I'm not sure what the right thing is here. I usually prefer to avoid
| > re-exports because they create problems with warnings.
|
| I think this is a bit sad actually. The situation discussed here is
| (IMO) exactly the kind of situation that re-exports are intended for.
| That some tools give warnings for re-exports is a flaw in those tools,
| not a problem with the re-export per se.
|
| Generally, if module A exports foo, module B imports A and re-exports
| foo, and module C imports both A and B, there should be no ambiguity.
| Not even if it reexports all of modules A and B. Why would e.g. GHC
| need to warn in that case?
|
| Cheers,
|
| /Niklas
| _______________________________________________
| Libraries mailing list
| Libraries at haskell.org
| http://www.haskell.org/mailman/listinfo/libraries
More information about the Libraries
mailing list