Proposal: Use (.) and id from Control.Category in Prelude

Ross Paterson R.Paterson at city.ac.uk
Sun Jun 15 08:42:31 UTC 2014


On Sun, Jun 15, 2014 at 09:26:19AM +0300, Roman Cheplyaka wrote:
> * John Meacham <john at 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


More information about the Libraries mailing list