packages feed

json-pointer 0.1 → 0.1.1

raw patch · 2 files changed

+7/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ JSONPointer.Model: instance GHC.Show.Show JSONPointer.Model.JSONPointer

Files

json-pointer.cabal view
@@ -1,7 +1,7 @@ name:   json-pointer version:-  0.1+  0.1.1 synopsis:   JSON Pointer parsing and interpretation utilities description:
library/JSONPointer/Model.hs view
@@ -8,6 +8,7 @@  import JSONPointer.Prelude hiding (or) import qualified Data.Attoparsec.Text+import qualified Data.Text   -- |@@ -23,6 +24,11 @@   {-# INLINE mappend #-}   mappend (JSONPointer fn1) (JSONPointer fn2) =     JSONPointer $ \handler -> fn1 handler <> fn2 handler++instance Show JSONPointer where+  showsPrec _ (JSONPointer impl) =+    appEndo $+    impl (\_ text -> Endo (showString "/" . showString (Data.Text.unpack text)))  -- | -- Given a JSON Pointer specification and a function,