I've been trying to figure out how to use request and response, and after 
examining the Rakhana package I've manage to come up with the following 
basic example:

https://gist.github.com/erantapaa/f1075d0d8b1fd0b6be55#file-server-client2-hs

Any comments on how the code is organized?

My main question at this time is how the server loop gets kicked off with 
an ignored response, e.g. in startServer:


startServer = do r <- respond undefined serverLoop r
Is this the standard way to do things?

-- 
You received this message because you are subscribed to the Google Groups 
"Haskell Pipes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-pipes+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-pipes@googlegroups.com.

Reply via email to