packages feed

JSON-Combinator 0.2.5 → 0.2.6

raw patch · 2 files changed

+5/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

JSON-Combinator.cabal view
@@ -1,5 +1,5 @@ Name:               JSON-Combinator-Version:            0.2.5+Version:            0.2.6 License:            BSD3 License-File:       LICENSE Author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>@@ -10,11 +10,13 @@   A combinator library on top of a generalised JSON type. The highest-level module is   @Text.JSON.Combinator@ and it is expected that no other module need to be explicitly imported.   .-  Instances for the combinators are provided for two libraries available on hackage:+  Instances for the combinators are provided for three libraries available on hackage:   .     * json (@Text.JSON@)     .     * JSONb (@Text.JSONb@)+    .+    * hjson (@Text.HJson@) Cabal-version:      >= 1.2 Build-Type:         Simple 
Text/JSON/Combinator.hs view
@@ -233,6 +233,7 @@   let fl = failure (ExpectedBool j)   in foldJSON fl (return True) (return False) (const fl) (const fl) (const fl) (const fl) j +-- | Returns the potential number value of a JSON value. getNumber ::   (Failure (ExpectedNumber j) m, JSONLike j s a o) =>   j -- ^ The JSON value.