Send Beginners mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Attoparsec.ByteString.Char8 or Attoparsec.ByteString for
diff output? (Pedro B.)
2. Re: Attoparsec.ByteString.Char8 or Attoparsec.ByteString for
diff output? (Kim-Ee Yeoh)
----------------------------------------------------------------------
Message: 1
Date: Mon, 20 Feb 2023 10:39:06 -0400
From: "Pedro B." <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Attoparsec.ByteString.Char8 or
Attoparsec.ByteString for diff output?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
I send this question to the haskell-cafe list and I've got a couple of
answers there.
Pedro Borges
El 17/2/2023 a las 12:04 p. m., Pedro B. escribió:
> 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
------------------------------
Message: 2
Date: Tue, 21 Feb 2023 03:04:45 +0700
From: Kim-Ee Yeoh <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Attoparsec.ByteString.Char8 or
Attoparsec.ByteString for diff output?
Message-ID:
<CAPY+ZdR-nwivNWOc-jWFQRbfp4oLgmiv=60x8arixddeoa9...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi Pedro, I noticed the responses on the cafe list. Hope they helped!
On Mon, Feb 20, 2023 at 9:39 PM Pedro B. <[email protected]> wrote:
> I send this question to the haskell-cafe list and I've got a couple of
> answers there.
>
> Pedro Borges
>
>
> El 17/2/2023 a las 12:04 p. m., Pedro B. escribió:
> > 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
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
--
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20230221/b2ade137/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 169, Issue 3
*****************************************