change in the API for literals
forgot to export parseWithHeuristics from Haskell