1
1
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:
Rick Winfrey 2017-02-22 11:15:32 -08:00
parent e191fd7e3c
commit 37f1aea467

View File

@ -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)