Thank you.

Roger

On 05/21/2013 03:15 PM, Roman Cheplyaka wrote:
So this is the real error. If you read it carefully, it says that it expected [[String]] but got [[[[Char]]]] (i.e. [[[String]]]) as a result of the headerLines parser. I don't have time right now to look closer at your code, but I suggest studying the types of combinators you use (such as endBy) and trying to write down type signatures for the rest of the values you define. This way you'll find the error and better understand your program. A useful trick is to start ghci with -fdefer-type-errors and use ":t" to inspect types of various expressions that you encounter. Roman


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to