The indents package for Haskell's Parsec provides a way to parse indentation-style languages (like Haskell and Python). It redefines the Parser type, so how do you use the token parser functions exported by Parsec's Text.Parsec.Token module, which are of the normal Parser type?

Background

Parsec comes with a load of modules. most of them export a bunch of useful parsers (e.g. newline from

Edit
Report