packages feed

optics-vl 0.1 → 0.2

raw patch · 3 files changed

+20/−9 lines, 3 filesdep +indexed-profunctorsdep ~optics-corePVP ok

version bump matches the API change (PVP)

Dependencies added: indexed-profunctors

Dependency ranges changed: optics-core

API changes (from Hackage documentation)

- Optics.VL: instance Optics.Internal.Profunctor.Choice p => Data.Profunctor.Choice.Choice (Optics.VL.WrappedProfunctor p i)
- Optics.VL: instance Optics.Internal.Profunctor.Profunctor p => Data.Profunctor.Unsafe.Profunctor (Optics.VL.WrappedProfunctor p i)
+ Optics.VL: instance Data.Profunctor.Indexed.Choice p => Data.Profunctor.Choice.Choice (Optics.VL.WrappedProfunctor p i)
+ Optics.VL: instance Data.Profunctor.Indexed.Profunctor p => Data.Profunctor.Unsafe.Profunctor (Optics.VL.WrappedProfunctor p i)

Files

+ CHANGELOG.md view
@@ -0,0 +1,5 @@+# optics-vl-0.2 (2019-10-18)+* Depend on new `indexed-profunctors` package++# optics-vl-0.1 (2019-09-02)+* Initial release
optics-vl.cabal view
@@ -1,19 +1,24 @@ name:          optics-vl-version:       0.1+version:       0.2 license:       BSD3 license-file:  LICENSE build-type:    Simple maintainer:    optics@well-typed.com author:        Andrzej Rybczak-cabal-version: >=1.10-tested-with:   ghc ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1+cabal-version: 1.24+tested-with:   ghc ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1, GHCJS ==8.4 synopsis:      Utilities for compatibility with van Laarhoven optics category:      Data, Optics, Lenses description:-  This package is part of the @optics@ package family.  It provides utilities-  for converting between the 'Optic' type defined by @optics@ and the van-  Laarhoven representations of optics (in particular isomorphisms and prisms).+  This package is part of the @<https://hackage.haskell.org/package/optics optics>@+  package family.  It provides utilities for converting between the 'Optic' type+  defined by @<https://hackage.haskell.org/package/optics optics>@ and the van+  Laarhoven representations of optics that require definitions outside of @base@+  (in particular isomorphisms and prisms). +extra-doc-files:+  CHANGELOG.md+ bug-reports:   https://github.com/well-typed/optics/issues source-repository head   type:     git@@ -25,7 +30,8 @@   hs-source-dirs:   src    build-depends: base                   >= 4.9        && <5-               , optics-core            >= 0.1        && <1+               , indexed-profunctors    >= 0.1        && <0.2+               , optics-core            >= 0.2        && <0.3                , profunctors            >= 5.0        && <6.0    ghc-options: -Wall
src/Optics/VL.hs view
@@ -47,9 +47,9 @@ import Data.Functor.Identity import qualified Data.Profunctor as P +import Data.Profunctor.Indexed+ import Optics.Internal.Optic-import Optics.Internal.Profunctor-import Optics.Internal.Utils import Optics.Core  newtype WrappedProfunctor p i a b =