
2 May
2011
2 May
'11
6:27 p.m.
Ozgur Akgun wrote:
Hi Alexey,
On 2 May 2011 21:01, Alexey Khudyakov
wrote: My question is there any tool for reformatting result of show so it could be read by human beings?
http://hackage.haskell.org/package/pretty-show
Just use ppShow, instead of show.
ppShow also has a command line tool called ppsh. I run ppsh in an xterm, paste the Show output into the xterm and then hit Control-d to see the formatted output. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/