hosc 0.14 → 0.14.1
raw patch · 2 files changed
+5/−5 lines, 2 filesdep ~binaryPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: binary
API changes (from Hackage documentation)
Files
- Sound/OSC/Coding/Decode/Binary.hs +4/−4
- hosc.cabal +1/−1
Sound/OSC/Coding/Decode/Binary.hs view
@@ -20,15 +20,15 @@ -- | Isolate an action to operating within a fixed block of bytes. The -- action is required to consume all the bytes that it is isolated to.-isolate :: Word32 -> Get a -> Get a-isolate n m = do+isolate' :: Word32 -> Get a -> Get a+isolate' n m = do s <- get_bytes n case runGetOrFail m s of Left (_, _, e) -> fail e Right (s', _, a) -> if B.null s' then return a- else fail "isolate: not all bytes consumed"+ else fail "isolate': not all bytes consumed" -- | Get a 32 bit integer in big-endian byte order. getInt32be :: Get Int32@@ -97,7 +97,7 @@ if b then return [] else do- p <- flip isolate get_message =<< getWord32be+ p <- flip isolate' get_message =<< getWord32be ps <- get_message_seq return (p:ps)
hosc.cabal view
@@ -1,5 +1,5 @@ Name: hosc-Version: 0.14+Version: 0.14.1 Synopsis: Haskell Open Sound Control Description: @hosc@ implements a subset of the /Open Sound Control/ byte protocol, <http://opensoundcontrol.org/>.