You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Network/Socket/Activation.hs:83:14: warning: [-Wdeprecations]
In the use of ‘unpackFamily’
(imported from Network.Socket, but defined in network-2.7.0.0:Network.Socket.Types):
Deprecated: "unpackFamily will not be available in version 3.0.0.0 or later."
|
83 | return $ unpackFamily familyInt
| ^^^^^^^^^^^^
Network/Socket/Activation.hs:97:35: warning: [-Wdeprecations]
In the use of type constructor or class ‘SocketStatus’
(imported from Network.Socket, but defined in network-2.7.0.0:Network.Socket.Types):
Deprecated: "SocketStatus will be removed"
|
97 | socketStatus :: CInt -> MaybeT IO SocketStatus
| ^^^^^^^^^^^^
Network/Socket/Activation.hs:101:19: warning: [-Wdeprecations]
In the use of data constructor ‘Bound’
(imported from Network.Socket, but defined in network-2.7.0.0:Network.Socket.Types):
Deprecated: "SocketStatus will be removed"
|
101 | 0 -> return Bound
| ^^^^^
Network/Socket/Activation.hs:102:27: warning: [-Wdeprecations]
In the use of data constructor ‘Listening’
(imported from Network.Socket, but defined in network-2.7.0.0:Network.Socket.Types):
Deprecated: "SocketStatus will be removed"
|
102 | x | x > 0 -> return Listening
| ^^^^^^^^^
I'm not sure why these things are deprecated; I've raised an issue to ask. haskell/network#324
The text was updated successfully, but these errors were encountered:
chris-martin
changed the title
Deprecation warnings in 'network' package
Deprecation warnings in the 'network' package
May 28, 2018
I'm not sure why these things are deprecated; I've raised an issue to ask. haskell/network#324
The text was updated successfully, but these errors were encountered: