
8 Oct
2011
8 Oct
'11
1:55 p.m.
On Sat, Oct 8, 2011 at 12:37 PM, Yves Parès
Hallo Café,
Is there a package that allows parsing Text with parsec, or do you have to switch to attoparsec-text or convert your Text to a ByteString?
I haven't tested it, but this declaration should work: instance Monad m => Stream Text m Char where uncons = return . Text.uncons (Or something similar) I don't know how performance compares to the String version. Antoine
Thanks!
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe