[Haskell-cafe] How to parsing files

Jake Luck lambda at 10k.org
Wed Jul 20 12:11:28 EDT 2005


> 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?





More information about the Haskell-Cafe mailing list