
15 Jun
2014
15 Jun
'14
8:08 a.m.
* Ross Paterson
On Sun, Jun 15, 2014 at 09:26:19AM +0300, Roman Cheplyaka wrote:
* John Meacham
[2014-06-14 19:54:16-0700] Actually, a change I'd like to see is just make sure that no modules re-export anything that prelude exports.
Do you have any examples of this?
Data.List has a lot of them. Others include:
Control.Monad: Functor(fmap), Monad((>>=), (>>), return, fail) Data.Functor: Functor(fmap) Data.Maybe: Maybe(Nothing, Just), maybe Data.Ratio: Rational
Maybe I misunderstood the concern. For me it looks more like Prelude re-exporting stuff from those modules, which makes sense. Would you prefer Data.List randomly lacking lists functions on the basis that they are exported by Prelude? Roman