
14 Jan
2012
14 Jan
'12
6:58 a.m.
Hi Daniel,
I've been trying to write networking code in Haskell too. I've also come to the conclusion that channels are the way to go.
isn't a tuple of input/output channels essentially the same as a stream processor arrow? I found the example discussed in the "arrow paper" [1] very enlightening in that regard. There also is a Haskell module that extends the SP type to support monadic IO at [2]. Take care, Peter [1] http://www.ittc.ku.edu/Projects/SLDG/filing_cabinet/Hughes_Generalizing_Mona... [2] http://hackage.haskell.org/package/streamproc