Re: [RFC] Support Unicode characters in instance Show String

Henning Thielemann <[email protected]> Thu, 8 Jul 2021 21:58:32 +0200 (CEST)
Newsgroups gmane.comp.lang.haskell.libraries
Message-ID <[email protected]>
On Thu, 8 Jul 2021, Oleg Grenrus wrote:

> GHC Manual: Using a custom interactive printing function [1]
> 
>     Prelude Data.Char> "foo"
>     "foo"
>     Prelude Data.Char> let myprint=putStrLn . map toUpper . show
>     Prelude Data.Char> :set -interactive-print myprint
>     Prelude Data.Char> "foo"
>     "FOO"
> 
> I remember some people using e.g. pretty-show or pretty-simple packages
> with great success.

That's great!

> No need to change anything in base, just make users aware of a 
> configuration possibility.

I missed that feature, too.

_______________________________________________
Libraries mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries