[Haskell-cafe] Stream instance for Parsec + conduits
Phil Scott
me at philscotted.com
Thu May 9 19:57:51 CEST 2013
Hi all.
I would like to have a Parsec Stream instance for Data.Text streams in yesod's ConduitM. So far, I have this:
hpaste.org/87599
The idea is that because Yesod's conduits will be chunking values in Data.Text, I should have a wrapper StreamSource to cache chunked values.
For some reason, the test parser fails, saying:
[Left "Blah" (line 1, column 1):
unexpected "g"
expecting "h" or "g"]
Any ideas?
Cheers!
Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130509/5fe1050b/attachment.pgp>
More information about the Haskell-Cafe
mailing list