hosc 0.21 → 0.21.1
raw patch · 2 files changed
+3/−2 lines, 2 filesdep ~binarydep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: binary, bytestring
API changes (from Hackage documentation)
Files
- Sound/Osc/Transport/Fd/Udp.hs +2/−1
- hosc.cabal +1/−1
Sound/Osc/Transport/Fd/Udp.hs view
@@ -6,6 +6,7 @@ import Data.Bifunctor {- base -} import qualified Data.ByteString as B {- bytestring -}+import qualified Data.ByteString.Lazy as BL {- bytestring -} import qualified Network.Socket as N {- network -} import qualified Network.Socket.ByteString as C {- network -} @@ -41,7 +42,7 @@ udp_recv_packet (Udp fd) = fmap Binary.decodePacket_strict (C.recv fd 8192) udp_recv_packet_or :: Udp -> IO (Either String Packet.Packet)-udp_recv_packet_or (Udp fd) = Binary.decodePacketOr . B.fromStrict <$> C.recv fd 8192+udp_recv_packet_or (Udp fd) = Binary.decodePacketOr . BL.fromStrict <$> C.recv fd 8192 -- | Close Udp. udp_close :: Udp -> IO ()
hosc.cabal view
@@ -1,6 +1,6 @@ Cabal-Version: 2.4 Name: hosc-Version: 0.21+Version: 0.21.1 Synopsis: Haskell Open Sound Control Description: Haskell library implementing the Open Sound Control protocol License: GPL-3.0-only