[Haskell-cafe] Re: Parse text difficulty

Samuel Tardieu sam at rfc1149.net
Thu Dec 9 04:38:52 EST 2004


>>>>> "Douglas" == Douglas Bromley <doug.bromley at gmail.com> writes:

Douglas> What I want to do is format that nicely into a table.  The
Douglas> best way of doing (I thought) was to: Remove the first "[("
Douglas> and final ")]" Then replace "),(" with a newline(\n)

Why don't simply write an "output" function which takes your structure
(not the result of "show") and output it nicely on the standard
output?

  Sam, puzzled
-- 
Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/sam



More information about the Haskell-Cafe mailing list