network-effectful 0.2.0.0 → 0.2.0.1
raw patch · 2 files changed
+5/−1 lines, 2 files
Files
network-effectful.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: network-effectful-version: 0.2.0.0+version: 0.2.0.1 synopsis: Adaptation of the network library for the effectful ecosystem.
src/Effectful/Network/Lazy.hs view
@@ -24,6 +24,10 @@ import Data.Int (Int64) import Effectful.Network (Network) +#if MIN_VERSION_network(3,2,0)+import System.Posix.Types (Fd)+#endif+ -- | Wraps 'S.send'. send :: (Network :> es) => Socket -> LazyByteString -> Eff es Int64 send sock = unsafeEff_ . S.send sock