src/Network/CGI/Compat.hs:27:1: warning: [-Wdeprecations]
Module ‘Network’ is deprecated:
The high level Network interface is no longer supported. Please use Network.Socket.
|
27 | import Network (PortID, Socket, listenOn, connectTo)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Network/CGI/Compat.hs:52:13: warning: [-Wdeprecations]
In the use of type constructor or class ‘PortID’
(imported from Network):
Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket."
|
52 | pwrapper :: PortID -- ^ The port to run the server on.
| ^^^^^^
src/Network/CGI/Compat.hs:55:29: warning: [-Wdeprecations]
In the use of ‘listenOn’ (imported from Network):
Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket."
|
55 | pwrapper pid f = do sock <- listenOn pid
| ^^^^^^^^
src/Network/CGI/Compat.hs:82:33: warning: [-Wdeprecations]
In the use of type constructor or class ‘PortID’
(imported from Network):
Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket."
|
82 | connectToCGIScript :: String -> PortID -> IO ()
| ^^^^^^
src/Network/CGI/Compat.hs:87:16: warning: [-Wdeprecations]
In the use of ‘connectTo’ (imported from Network):
Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket."
|
87 | h <- connectTo host portId
| ^^^^^^^^^