packages feed

descriptive 0.4.0 → 0.4.1

raw patch · 2 files changed

+4/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

descriptive.cabal view
@@ -1,5 +1,5 @@ name:                descriptive-version:             0.4.0+version:             0.4.1 synopsis:            Self-describing consumers/parsers; forms, cmd-line args, JSON, etc. description:         Self-describing consumers/parsers. See the README.md for more information. It is currently EXPERIMENTAL. stability:           Experimental
src/Descriptive/JSON.hs view
@@ -113,7 +113,9 @@   where doc = Key k  -- | Consume an array.-array :: Text -> Consumer Value Doc a -> Consumer Value Doc (Vector a)+array :: Text -- ^ Description of this array.+      -> Consumer Value Doc a -- ^ Consumer for each element in the array.+      -> Consumer Value Doc (Vector a) array desc =   wrap (\v d -> (Wrap doc (fst (d Aeson.Null)),v))        (\v _ p ->