Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  Attoparsec.ByteString.Char8 or   Attoparsec.ByteString for
      diff output? (Pedro B.)


----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Feb 2023 12:04:28 -0400
From: "Pedro B." <pedrob...@gmail.com>
To: beginners@haskell.org
Subject: [Haskell-beginners] Attoparsec.ByteString.Char8 or
        Attoparsec.ByteString for diff output?
Message-ID: <2dfc932c-969f-2dd7-c8b7-26ffcba1e...@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Dear Listers,

I am developing a program to parse dif output taken from stdin (as in 
diff file1 file2 | myApp) or from a file. I am reading  the input as 
ByteString in either case and I am parsing it Attoparsec. My question 
is, Should I use Data.Attoparsec.ByteString.Char8  or 
Data.Attoparsec.ByteString?

So far, I've been  using Data.Attoparsec.ByteString.Char8  and it works 
for my sample files, which are in utf8 or, latin1, or the default 
Windows encoding.

What do you suggest?

Regards,

Pedro Borges


------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 169, Issue 2
*****************************************

Reply via email to