On Wednesday, March 30, 2016, Rustom Mody <rustompmody@gmail.com> wrote:
starts with
import Data.Char (char)
That's incorrect and has never been correct. The parser you want is in Text.Parsec.Char. Data.Char is a standard Haskell module and has nothing to do with Parsec.
Unfortunately I can't recommend any particular tutorial. Mostly I thrashed about, reading this and that. The principles are best explained in the original papers, such as this one:
But unfortunately the original papers are somewhat out of date too.