packages feed

microlens-aeson 2.2.0.1 → 2.2.0.2

raw patch · 5 files changed

+44/−96 lines, 5 filesdep ~aesondep ~basedep ~bytestringPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson, base, bytestring, microlens, text, unordered-containers, vector

API changes (from Hackage documentation)

Files

− .ghci
@@ -1,1 +0,0 @@-:set -isrc -idist/build/autogen -optP-include -optPdist/build/autogen/cabal_macros.h
− .gitignore
@@ -1,13 +0,0 @@-dist-docs-wiki-TAGS-tags-wip-.DS_Store-.*.swp-.*.swo-*.o-*.hi-*~-*#
− .travis.yml
@@ -1,34 +0,0 @@-# Use new container infrastructure to enable caching-sudo: false--# Choose a lightweight base image; we provide our own build tools.-language: c--# GHC depends on GMP. You can add other dependencies here as well.-addons:-  apt:-    packages:-    - libgmp-dev--# The different configurations we want to test. You could also do things like-# change flags or use --stack-yaml to point to a different file.-env:-  - ARGS="--resolver lts-8.11"-  - ARGS="--resolver lts-7.21"-  - ARGS="--resolver lts-6.31"--before_install:-# Download and unpack the stack executable-- mkdir -p ~/.local/bin-- export PATH=$HOME/.local/bin:$PATH-- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'--# This line does all of the work: installs GHC if necessary, build the library,-# executables, and test suites, and runs the test suites. --no-terminal works-# around some quirks in Travis's terminal implementation.-script: stack $ARGS --no-terminal --install-ghc test--# Caching so the next build will be fast too.-cache:-  directories:-  - $HOME/.stack
microlens-aeson.cabal view
@@ -1,31 +1,28 @@+-- This file has been generated from package.yaml by hpack version 0.17.0.+--+-- see: https://github.com/sol/hpack+ name:          microlens-aeson category:      Numeric-version:       2.2.0.1+version:       2.2.0.2 license:       MIT cabal-version: >= 1.10 license-file:  LICENSE author:        Colin Woodbury maintainer:    Colin Woodbury <colingw@gmail.com>-stability:     provisional homepage:      http://github.com/fosskers/microlens-aeson/ bug-reports:   http://github.com/fosskers/microlens-aeson/issues-copyright:-          Copyright (C) 2012 Paul Wilson-          Copyright (C) 2013 Edward A. Kmett-          Copyright (C) 2015 Colin Woodbury+copyright:     Copyright (C) 2012 Paul Wilson, (C) 2013 Edward A. Kmett, (C) 2015 Colin Woodbury build-type:    Simple synopsis:      Law-abiding lenses for Aeson, using microlens. description:   Law-abiding lenses for Aeson, using microlens.  extra-source-files:-                   .travis.yml-                   .ghci-                   .gitignore-                   AUTHORS.md-                   README.md-                   CHANGELOG.md-                   microlens-aeson.png-                   lens-aeson.png+    AUTHORS.md+    CHANGELOG.md+    lens-aeson.png+    microlens-aeson.png+    README.md  source-repository head   type: git@@ -33,41 +30,40 @@  library   build-depends:-                  aeson                >= 0.7.0.5   && < 1.3-                , attoparsec           >= 0.10      && < 0.14-                , base                 >= 4.8       && < 5-                , bytestring           >= 0.9       && < 0.11-                , microlens            >= 0.3       && < 0.5-                , scientific           >= 0.3.2     && < 0.4-                , text                 >= 0.11.1.10 && < 1.3-                , unordered-containers >= 0.2.3     && < 0.3-                , vector               >= 0.9       && < 0.13-+      base >=4.8 && <5+    , aeson >=0.7.0.5 && <1.3+    , text >=0.11.1.10 && <1.3+    , microlens >=0.3 && <0.5+    , bytestring >=0.9 && <0.11+    , unordered-containers >=0.2.3 && <0.3+    , vector >=0.9 && <0.13+    , attoparsec >=0.10 && <0.14+    , scientific >=0.3.2 && <0.4   exposed-modules:-    Lens.Micro.Aeson-+      Lens.Micro.Aeson   other-modules:-    Lens.Micro.Aeson.Internal--  ghc-options: -Wall -fwarn-tabs -O2-  hs-source-dirs: src+      Lens.Micro.Aeson.Internal+      Paths_microlens_aeson+  ghc-options: -fwarn-tabs -O2+  hs-source-dirs:+      src   default-language: Haskell2010  test-suite microlens-aeson-test-  type:                exitcode-stdio-1.0--  build-depends:       base >=4.8 && <4.10-                     , tasty >= 0.10.1.2-                     , tasty-hunit >= 0.9.2-                     , text >=1.2 && <1.3-                     , microlens-aeson-                     , microlens-                     , bytestring-                     , vector-                     , aeson-                     , unordered-containers--  hs-source-dirs:      test-  main-is:             Test.hs-  default-language:    Haskell2010-  ghc-options: -Wall -threaded+  type: exitcode-stdio-1.0+  build-depends:+      base >=4.8 && <5+    , aeson >=0.7.0.5 && <1.3+    , text >=0.11.1.10 && <1.3+    , microlens >=0.3 && <0.5+    , bytestring >=0.9 && <0.11+    , unordered-containers >=0.2.3 && <0.3+    , vector >=0.9 && <0.13+    , tasty >=0.10.1.2+    , tasty-hunit >=0.9.2+    , microlens-aeson+  hs-source-dirs:+      test+  main-is: Test.hs+  default-language: Haskell2010+  ghc-options: -threaded
src/Lens/Micro/Aeson.hs view
@@ -149,7 +149,7 @@   _Number _ p = pure p   {-# INLINE _Number #-} --- | Traverse into various JSON primatives.+-- | Traverse into various JSON primitives. class AsNumber t => AsPrimitive t where   -- |   -- >>> "[1, \"x\", null, true, false]" ^? nth 0 . _Primitive