<div dir="ltr"><div><div>Thanks all for the suggestions<br></div>The first tut I tried seems to have an omission. I needed to add a <br>import Control.Applicative<br></div><div>to <a href="https://mrkkrp.github.io/megaparsec/tutorials/parsing-simple-imperative-language.html">https://mrkkrp.github.io/megaparsec/tutorials/parsing-simple-imperative-language.html</a><br></div><div>[Saw it in the others so guessed it has to be added]<br><br></div><div>Can report if desirable but Im yet quite in noob stage...<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 30, 2016 at 10:06 PM, Joe Hillenbrand <span dir="ltr"><<a href="mailto:joehillen@gmail.com" target="_blank">joehillen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Parsec isn't as maintained as <a href="https://mrkkrp.github.io/megaparsec/" target="_blank">Megaparsec</a>.<br><br></div>I recommend checking out the tutorials <a href="https://mrkkrp.github.io/megaparsec/tutorials.html" target="_blank">here</a>.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 30, 2016 at 6:30 AM, Rustom Mody <span dir="ltr"><<a href="mailto:rustompmody@gmail.com" target="_blank">rustompmody@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Ive been trying parsec<br></div>And I gather that the modules structures are heavily reorganized<br><br></div>eg <a href="https://kunigami.wordpress.com/2014/01/21/an-introduction-to-the-parsec-library/" target="_blank">https://kunigami.wordpress.com/2014/01/21/an-introduction-to-the-parsec-library/</a><br></div>starts with<br><br>import Data.Char (char)<br><br></div>which immediately gives <br>Module ‘Data.Char’ does not export ‘char’<br><br></div>Change that to <br>import Text.Parsec.Char (char)<br><br></div>and that error goes and more and more arcane ones start<br></div><div>Likewise all the stuff here<br><a href="http://jakewheat.github.io/intro_to_parsing/" target="_blank">http://jakewheat.github.io/intro_to_parsing/</a><br></div><div>seems to be wrong paths<br></div><div><br><br></div>Is there no tutorial for the current versions? <br></div>ghc 7.8.4<br></div>parsec 3.1.9-2<br><br clear="all"><div><div><div><div><div><div><div><div><div><div><div dir="ltr"><div><div dir="ltr"><div><br></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div>
<br></div></div><span class="">_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><a href="http://www.the-magus.in" target="_blank">http://www.the-magus.in</a><br><a href="http://blog.languager.org" target="_blank">http://blog.languager.org</a><br><br></div></div></div></div></div>
</div>