[Haskell-cafe] Re: Parse text difficulty

2004-12-09 Thread Ferenc Wagner
Douglas Bromley <[EMAIL PROTECTED]> writes: > I've show(n) a particular data type and it shows up as: > [([2,6],"British"),([1],"Charles"),([1,8],"Clarke"),([2,6],"Council"),([2],"Edinburgh"),([1],"Education"),([4],"Increasingly")] > > What I want to do is format that nicely into a table. > Which

[Haskell-cafe] Re: Parse text difficulty

2004-12-09 Thread Samuel Tardieu
> "Douglas" == Douglas Bromley <[EMAIL PROTECTED]> 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"