simons at cryp.to
Mon Jun 28 08:26:12 EDT 2004
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
getSocketOption :: Socket -> SocketOption -> IO SocketOption
Debug v <- getSocketOption sock (Debug undefined)
But that's the first idea, not necessarily the best.
More information about the Glasgow-haskell-users