Quoth brian <[EMAIL PROTECTED]>: | I want to use Parsec to parse NNTP data coming to me from a handle I | get from connectTo.
Are you still having trouble with this? Take my opinion for what it's worth - I'm no Haskell guru - but for me, your basic approach is unsound. I would implement the network service input data stream myself, with timeouts, encryption, whatever as required, and then apply the parser to available data as a simple, pure function that returns NNTP results and whatever data remains. So the parser would never see any streams or handles or anything, it would just get strings to parse. Donn Cave, [EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe