* Ross Paterson <R.Paterson@city.ac.uk> [2014-06-15 09:42:31+0100]
On Sun, Jun 15, 2014 at 09:26:19AM +0300, Roman Cheplyaka wrote:
* John Meacham <john@repetae.net> [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