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

Claude Heiland-Allen claude at mathr.co.uk
Thu Feb 4 09:56:29 UTC 2016


On 04/02/16 09:47, Imants Cekusins wrote:
> re: formatting GHCi output:
>
> what if GHCi used another class (not Show) for formatting output?
>
> what if it were possible to pass a cmd flag to ghci to specify
> formatting instance to use in this session?

It is possible:

https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/interactive-evaluation.html#ghci-interactive-print


-- 
http://mathr.co.uk



More information about the Haskell-Cafe mailing list