Re: [Haskell-cafe] How to parsing files

2005-07-22 Thread Sebastian Sylvan
On 7/20/05, yin <[EMAIL PROTECTED]> wrote: > Hi, > > I need to parse a file in this format: >float float float >float float float > Each row has 3-columns of floating procision number divided by white > space. The number of lines is undefined. I use (lines (readFile "...")) > to read the f

Re: [Haskell-cafe] How to parsing files

2005-07-20 Thread Henning Thielemann
On Wed, 20 Jul 2005, Jake Luck wrote: > > I need to parse a file in this format: > > float float float > > float float float > > Each row has 3-columns of floating procision number divided by white > > space. The number of lines is undefined. I use (lines (readFile "...")) > > to read the fil

Re: [Haskell-cafe] How to parsing files

2005-07-20 Thread Jake Luck
I need to parse a file in this format: float float float float float float Each row has 3-columns of floating procision number divided by white space. The number of lines is undefined. I use (lines (readFile "...")) to read the file. Text.ParserCombinators.Parsec sounds perfect, no? _

[Haskell-cafe] How to parsing files

2005-07-20 Thread yin
Hi, I need to parse a file in this format: float float float float float float Each row has 3-columns of floating procision number divided by white space. The number of lines is undefined. I use (lines (readFile "...")) to read the file. Thnks. Matej 'Yin' Gagyi