Add a MonadState instance for the Parsec monad
|Reported by:||mux||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
This patch adds a MonadState instance for the GenParser monad of Parsec, allowing the use of the usual state handling primitives instead of the custom ones provided by Parsec.
The drawback of this is that it adds a dependency on mtl; I don't think that's much of a problem though, and we'll need it for ParsecT anyways.