Unicode, strings, and Show

Evan Laforge qdunkan at gmail.com
Wed Mar 30 03:05:33 UTC 2016


There was recently a discussion about it, search for subject "Can we
improve Show instance for non-ascii charcters?"

You can read for yourself but my impression was that people were
generally favorable, but had some backward compatibility worries, and
came up with some workarounds, but no one committed to following up on
a ghci patch.

On Tue, Mar 29, 2016 at 7:26 PM, Manuel M T Chakravarty
<chak at justtesting.org> wrote:
> Why are we doing this?
>
>   GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
>   Prelude> "文字"
>   "\25991\23383"
>   Prelude>
>
> After all, we don’t print ’a’ as ’\97’.
>
> Manuel
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


More information about the ghc-devs mailing list