registry-messagepack 0.3.0.0 → 0.3.0.1
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
registry-messagepack.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: registry-messagepack-version: 0.3.0.0+version: 0.3.0.1 synopsis: MessagePack encoders / decoders description: This library provides encoders / decoders which can be easily customized for the MessagePack format. category: Data
src/Data/Registry/MessagePack/Decoder.hs view
@@ -12,7 +12,7 @@ import Control.Monad.Fail import Data.List (nub)-import Data.MessagePack+import Data.MessagePack as MP import Data.Registry import Data.Registry.Internal.Types import Data.Registry.MessagePack.Options@@ -25,7 +25,7 @@ -- * DECODER DATA TYPE -newtype Decoder a = Decoder {decode :: Object -> Result a}+newtype Decoder a = Decoder {decode :: Object -> MP.Result a} instance Functor Decoder where fmap f (Decoder d) = Decoder (fmap f . d)