data-msgpack 0.0.12 → 0.0.13
raw patch · 3 files changed
+7/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- LICENSE +1/−0
- data-msgpack.cabal +1/−1
- src/Data/MessagePack.hs +5/−0
LICENSE view
@@ -1,3 +1,4 @@+Copyright (c) 2017-2018, The TokTok Team Copyright (c) 2009-2010, Hideyuki Tanaka All rights reserved.
data-msgpack.cabal view
@@ -1,5 +1,5 @@ name: data-msgpack-version: 0.0.12+version: 0.0.13 synopsis: A Haskell implementation of MessagePack homepage: http://msgpack.org/ license: BSD3
src/Data/MessagePack.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE Safe #-} {-# OPTIONS_GHC -fno-warn-orphans #-} --------------------------------------------------------------------@@ -40,7 +41,11 @@ -- | Unpack MessagePack binary to a Haskell value. If it fails, it fails in the -- Monad. In the Maybe monad, failure returns Nothing.+#if (MIN_VERSION_base(4,13,0))+unpack :: (Applicative m, Monad m, MonadFail m, MessagePack a)+#else unpack :: (Applicative m, Monad m, MessagePack a)+#endif => L.ByteString -> m a unpack = eitherToM . decodeOrFail >=> fromObject where