[Haskell-cafe] Can we improve Show instance for non-ascii charcters?

David Feuer david.feuer at gmail.com
Thu Feb 4 07:20:25 UTC 2016


This is by far the worst possible option. Incoherent instances lead to
nightmarishly unpredictable behavior.

On Thu, Feb 4, 2016 at 1:45 AM, Imants Cekusins <imantc at gmail.com> wrote:

> What if (some) show instances where alternative representations are
> possible, were moved out of Prelude?
>
> A selection of modules with alternative show instances would be available
> from stand alone modules. To be imported as needed.
>
> For example, bytestring may be 'show'ed in different ways.
>
> Less convenient than now, backward incompatible yet simple enough.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160204/b54727eb/attachment.html>


More information about the Haskell-Cafe mailing list