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

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to