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 file.
>
> Text.ParserCombinators.Parsec sounds perfect, no?

That's certainly overkill since 'lines', 'words', 'read' will suffice.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to