
4 Oct
2010
4 Oct
'10
7:25 p.m.
On 4 October 2010 23:54, c8h10n4o2
By the way, there is a parser that returns [String] for my case?
If you are trying to parse strings (of alphaNum's) separated by commas, you can use "many alphaNum" (or "many1 alphaNum" depending on what you want) instead of simply using alphaNum. The type of the complete parser will then be Parser [String]. alphaNum :: Parser Char alphaNums :: Parser String alphaNums = many alphaNum alphaNums1 :: Parser String alphaNums1 = many1 alphaNum Ozgur