
28 Jun
2004
28 Jun
'04
8:26 a.m.
Martin Sjögren writes:
Wouldn't that make getSocketOption :: Socket -> SocketOption -> IO Int a bit strange? How would you propose to change it?
Right, that is a problem. My first idea how to fix this would be getSocketOption :: Socket -> SocketOption -> IO SocketOption as in: Debug v <- getSocketOption sock (Debug undefined) But that's the first idea, not necessarily the best. Peter