On Wed, Jan 30, 2013 at 1:21 PM, Jan Stolarek wrote:
I will be writing a parser in Haskell and I wonder how to approach the problem.

Utrecht University has a course that covers this, among other things. You might find the slides and lecture notes useful:

http://www.cs.uu.nl/wiki/TC/CourseMaterials

Regards,
Sean