Export ($!) from Data.Function
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Fri Apr 24 12:56:36 UTC 2015
On 24 April 2015 at 22:29, Yuras Shumovich <shumovichy at gmail.com> 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.
>
> Thanks,
> Yuras
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com
More information about the Libraries
mailing list