[Haskell-cafe] Can we improve Show instance for non-ascii charcters?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe