[Haskell-beginners] Talking betwean the parsers.

Maciej Piechotka uzytkownik2 at gmail.com
Fri Jul 17 18:40:15 EDT 2009


I have a data structure of 
data Monad m => NntpConnection m = NntpConnection {
	input :: ByteString,
	output :: ByteString -> m ()
    }

I'd like to create echo structure such that the goes to output is going
to (lazy) input. For sure it is possible to use network and IO monad -
is is possible to do it purely?

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/beginners/attachments/20090717/283ab0db/attachment.bin


More information about the Beginners mailing list