Skip to content

Commit

Permalink
System.Win32.Async - do not export Socket.ByteString
Browse files Browse the repository at this point in the history
Let the user of the library choose wether to use
'System.Win32.Async.Socket.ByteString' or
'System.Win32.Async.Socket.ByteString.Lazy'.
  • Loading branch information
coot committed Feb 14, 2020
1 parent 8dbd27f commit a9bd4a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Win32-network/src/System/Win32/Async.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ module System.Win32.Async
, module System.Win32.Async.ErrCode
, module System.Win32.Async.IOManager
, module System.Win32.Async.Socket
, module System.Win32.Async.Socket.ByteString
) where

import System.Win32.Async.IOManager
import System.Win32.Async.File
import System.Win32.Async.ErrCode
import System.Win32.Async.Socket
import System.Win32.Async.Socket.ByteString
2 changes: 1 addition & 1 deletion ouroboros-network/test/Test/Socket.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import Data.Time.Clock (UTCTime, getCurrentTime)
import Data.Void (Void)
import qualified Network.Socket as Socket
#if defined(mingw32_HOST_OS)
import qualified System.Win32.Async as Win32.Async
import qualified System.Win32.Async.Socket.ByteString as Win32.Async
#else
import qualified Network.Socket.ByteString.Lazy as Socket (sendAll)
#endif
Expand Down

0 comments on commit a9bd4a5

Please sign in to comment.