
On Fri, 2015-04-24 at 22:56 +1000, Ivan Lazar Miljenovic wrote:
On 24 April 2015 at 22:29, Yuras Shumovich
wrote: Hello,
Right now ($!) operator can be imported either from Prelude or GHC.Base. The later is specific to GHC, so it makes sense to avoid it.
There are reasons to avoid Prelude too (e.g. because it pollutes name space, changes too often, etc.) We need a home module for all identifies from Prelude, so that one can import them without importing Prelude.
Data.Functor seems to be a good candidate for ($!) operator home module. It already exports ($) operator.
Except $! is already exported by Prelude, so it's likely to break code by removing it from there.
I propose to export ($!) from Data.Function. I don't propose to remove it from Prelude. Just like ($) is already exported from both Prelude and Data.Function. PS: sorry, I typed Data.Functor in the initial email body. The correct module name is Data.Function.
Thanks, Yuras
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries