mirror of
https://github.com/github/semantic.git
synced 2025-01-09 00:56:32 +03:00
Use sendAll
for socket communication
- The return type of `sendAll` is IO (), so we don’t have to worry about storing the result to prevent compiler errors.
This commit is contained in:
parent
e191fd7e3c
commit
37f1aea467
@ -5,8 +5,8 @@ import Prelude
|
||||
import Data.Aeson
|
||||
import Data.Aeson.Types
|
||||
|
||||
import Network.Socket hiding (send)
|
||||
import Network.Socket.ByteString (send)
|
||||
import Network.Socket
|
||||
import Network.Socket.ByteString (sendAll)
|
||||
|
||||
import Data.ByteString.Lazy (toStrict)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user