Improving reusability of Haskell parsers.
Adapted to new Haskell parsers.