<div dir="auto">Hi Pedro, I noticed the responses on the cafe list. Hope they helped!</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 20, 2023 at 9:39 PM Pedro B. <<a href="mailto:pedroborg@gmail.com">pedroborg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">I send this question to the haskell-cafe list and I've got a couple of <br>
answers there.<br>
<br>
Pedro Borges<br>
<br>
<br>
El 17/2/2023 a las 12:04 p. m., Pedro B. escribió:<br>
> Dear Listers,<br>
> <br>
> I am developing a program to parse dif output taken from stdin (as in <br>
> diff file1 file2 | myApp) or from a file. I am reading the input as <br>
> ByteString in either case and I am parsing it Attoparsec. My question <br>
> is, Should I use Data.Attoparsec.ByteString.Char8 or <br>
> Data.Attoparsec.ByteString?<br>
> <br>
> So far, I've been using Data.Attoparsec.ByteString.Char8 and it works <br>
> for my sample files, which are in utf8 or, latin1, or the default <br>
> Windows encoding.<br>
> <br>
> What do you suggest?<br>
> <br>
> Regards,<br>
> <br>
> Pedro Borges<br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">-- Kim-Ee</div>