
25 Aug
2009
25 Aug
'09
12:07 p.m.
On 25/08/2009 04:49, Sterling Clover wrote:
Additionally, while sockets are too nitty-gritty for a high-level interface (although a socket with phantom types might not be), Handles feel to me to be too tricky to reliably map onto, and I'd much prefer something in between. Perhaps an explicit pair of a lazy bytestring and a function of type (ByteString -> IO ()) (both, of course, properly buffered.)?
Could you elaborate a bit more on "Handles feel to me to be too tricky to reliably map onto"? I'd like to understand what problems there are, and see if there's some way to address them. Cheers, Simon