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-language.html
[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 <joehillen@gmail.com> wrote:
Parsec isn't as maintained as Megaparsec.

I recommend checking out the tutorials here.

On Wed, Mar 30, 2016 at 6:30 AM, Rustom Mody <rustompmody@gmail.com> 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-library/
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
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





--