Thanks all for the suggestions
The first tut I tried seems to have an omission. I needed to add a
import Control.Applicative
to
https://mrkkrp.github.io/megaparsec/tutorials/parsing-simple-imperative-lang...
[Saw it in the others so guessed it has to be added]
Can report if desirable but Im yet quite in noob stage...
On Wed, Mar 30, 2016 at 10:06 PM, Joe Hillenbrand
Parsec isn't as maintained as Megaparsec https://mrkkrp.github.io/megaparsec/.
I recommend checking out the tutorials here https://mrkkrp.github.io/megaparsec/tutorials.html.
On Wed, Mar 30, 2016 at 6:30 AM, Rustom Mody
wrote: Ive been trying parsec And I gather that the modules structures are heavily reorganized
eg https://kunigami.wordpress.com/2014/01/21/an-introduction-to-the-parsec-libr... starts with
import Data.Char (char)
which immediately gives Module ‘Data.Char’ does not export ‘char’
Change that to import Text.Parsec.Char (char)
and that error goes and more and more arcane ones start Likewise all the stuff here http://jakewheat.github.io/intro_to_parsing/ seems to be wrong paths
Is there no tutorial for the current versions? ghc 7.8.4 parsec 3.1.9-2
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe