Make Prelude's map = fmap
Henning Thielemann
lemming at henning-thielemann.de
Sun Jun 23 20:11:42 CEST 2013
On Sun, 23 Jun 2013, Nikita Volkov wrote:
> Henning, don't forget that noone suggests to remove Data.List.map, which
> you will still be perfectly able to use qualified when you feel the need
> to.
If in future Prelude moves more and more to one most general function that
does everything given the right type, then I am really concerning to use
NoImplicitPrelude in all my modules and use a custom Prelude or none at
all.
> To me having the most general functions imported unqualified from
> Prelude
... are you sure, "fmap" is the most general function?
> and specific ones qualified seems most natural.
More information about the Libraries
mailing list