packages feed

lens-aeson 0.1 → 0.1.1

raw patch · 3 files changed

+17/−13 lines, 3 filesdep ~textPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: text

API changes (from Hackage documentation)

- Control.Lens.Aeson: key :: AsValue t => Text -> IndexedTraversal' Text t Value
+ Control.Lens.Aeson: key :: AsValue t => Text -> Traversal' t Value
- Control.Lens.Aeson: nth :: AsValue t => Int -> IndexedTraversal' Int t Value
+ Control.Lens.Aeson: nth :: AsValue t => Int -> Traversal' t Value

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+0.1.1+-----+* Broadened dependencies+ 0.1 --- * Repository initialized
lens-aeson.cabal view
@@ -1,6 +1,6 @@ name:          lens-aeson category:      Numeric-version:       0.1+version:       0.1.1 license:       BSD3 cabal-version: >= 1.8 license-file:  LICENSE@@ -30,7 +30,7 @@  source-repository head   type: git-  location: git://github.com/analytics/lens-aeson.git+  location: git://github.com/lens/lens-aeson.git  -- You can disable the doctests test suite with -f-test-doctests flag test-doctests@@ -43,15 +43,15 @@  library   build-depends:-    base                 >= 4.3    && < 5,-    lens                 >= 3.9    && < 4,-    text                 >= 0.11.2 && < 0.12,-    vector               >= 0.9    && < 0.11,-    unordered-containers >= 0.2.3  && < 0.3,-    utf8-string          >= 0.3.7  && < 0.4,-    attoparsec           >= 0.10   && < 0.11,-    bytestring           >= 0.9    && < 0.11,-    aeson                >= 0.6    && < 0.7+    base                 >= 4.3       && < 5,+    lens                 >= 3.9       && < 4,+    text                 >= 0.11.1.10 && < 0.12,+    vector               >= 0.9       && < 0.11,+    unordered-containers >= 0.2.3     && < 0.3,+    utf8-string          >= 0.3.7     && < 0.4,+    attoparsec           >= 0.10      && < 0.11,+    bytestring           >= 0.9       && < 0.11,+    aeson                >= 0.6       && < 0.7    exposed-modules:     Control.Lens.Aeson
src/Control/Lens/Aeson.hs view
@@ -168,11 +168,11 @@   _Value = iso UTF8.fromString UTF8.toString._Value  -- | Like 'ix', but for 'Object' with Text indices. This often has better inference than 'ix' when used with OverloadedStrings-key :: AsValue t => Text -> IndexedTraversal' Text t Value+key :: AsValue t => Text -> Traversal' t Value key i = _Object . ix i  -- | Like 'ix', but for Arrays with Int indexes-nth :: AsValue t => Int -> IndexedTraversal' Int t Value+nth :: AsValue t => Int -> Traversal' t Value nth i = _Array . ix i  class AsJSON t where