Haskell -> After parsing how to work with strings

Posted by bito08 on Stack Overflow See other posts from Stack Overflow or by bito08
Published on 2010-12-26T19:11:54Z Indexed on 2010/12/26 22:53 UTC
Read the original article Hit count: 137

Filed under:
|
|

Hello after doing the parsing with a script in Haskell I got a file with the 'appearance' of lists of strings. However when I call the file content with the function getContents or hGetContents, ie, reading the contents I get something like: String with lines (schematically what I want is: "[" aaa "," bbb "" ccc "]" -> ["aaa", "bbb" "ccc"]). I have tried with the read function but without results. I need to work with these lists of strings to concatenating them all in a single list. Thanks.

© Stack Overflow or respective owner

Related posts about parsing

Related posts about haskell