[Haskell-cafe] parsec reorganization
Rustom Mody
rustompmody at gmail.com
Wed Mar 30 17:32:49 UTC 2016
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 at gmail.com>
wrote:
> 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 <rustompmody at 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
>> 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 at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>>
>>
>
--
http://www.the-magus.in
http://blog.languager.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160330/2a46b8d9/attachment.html>
More information about the Haskell-Cafe
mailing list