Future of "Text.Show.Functions" module

Edward Kmett ekmett at gmail.com
Mon Oct 20 14:41:05 UTC 2014


I'd have no objection to a well-worded warning.

On Mon, Oct 20, 2014 at 4:57 AM, Herbert Valerio Riedel <hvr at gnu.org> wrote:

> On 2014-10-19 at 23:24:25 +0200, Edward Kmett wrote:
> > Malcolm's reasoning matches mine perfectly here.
> >
> > The instance should not be standard.
> >
> > It should never go into Prelude.
> >
> > It standardizes on one of many viable choices.
> >
> > However, it is one of those things that folks, rightly or wrongly,
> > define fairly often and removing it would increase conflicts among
> > orphans doing the same thing.
> >
> > I'd strongly advocate holding your nose and leaving it there.
>
> Fair enough. But what about adding a WARNING pragma such as
> (modulo wording):
>
>
>   module Text.Show.Functions {-# WARNING "Here Be Dragons, RTFM!" -# }
> where
>
>
> and adding a bit more documentation pointing out the dos and donts of
> using that module (like explaining it is not be advisable import that
> module in a public library package to be placed on Hackage due to the
> global namespace issue of such instances)
>
> Cheers,
>   hvr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141020/7b6215c2/attachment.html>


More information about the Libraries mailing list