network-unexceptional 0.1.3.0 → 0.1.3.1
raw patch · 4 files changed
+8/−4 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- CHANGELOG.md +5/−0
- network-unexceptional.cabal +1/−1
- src/Network/Unexceptional/ByteArray.hs +1/−1
- src/Network/Unexceptional/Bytes.hs +1/−2
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for network-unexceptional +## 0.1.3.1 -- 2023-08-31++* Import `ByteArray` from `Data.Primitive` instead of `Data.Array.Byte`+ to fix build failure on GHC 9.2.+ ## 0.1.3.0 -- 2023-08-30 * Add interruptible send and receive functions to give users control over
network-unexceptional.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: network-unexceptional-version: 0.1.3.0+version: 0.1.3.1 synopsis: Network functions that do not throw exceptions description: Functions compatible with the Socket type from the network library that
src/Network/Unexceptional/ByteArray.hs view
@@ -10,7 +10,7 @@ import Control.Exception (throwIO) import Control.Monad (when)-import Data.Array.Byte (ByteArray)+import Data.Primitive (ByteArray) import Data.Bytes.Types (Bytes(Bytes),MutableBytes(MutableBytes)) import Foreign.C.Error (Errno) import Foreign.C.Error.Pattern (pattern EWOULDBLOCK,pattern EAGAIN)
src/Network/Unexceptional/Bytes.hs view
@@ -16,10 +16,9 @@ import Control.Exception (throwIO) import Control.Monad ((<=<)) import Control.Monad (when)-import Data.Array.Byte (ByteArray) import Data.Bytes.Types (Bytes(Bytes),MutableBytes(MutableBytes)) import Data.Functor (($>))-import Data.Primitive (MutableByteArray)+import Data.Primitive (MutableByteArray,ByteArray) import Foreign.C.Error (Errno) import Foreign.C.Error.Pattern (pattern EWOULDBLOCK,pattern EAGAIN) import GHC.Conc (threadWaitWrite,threadWaitWriteSTM)