product-profunctors 0.11.0.0 → 0.11.0.1
raw patch · 3 files changed
+14/−5 lines, 3 filesdep ~profunctorsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: profunctors
API changes (from Hackage documentation)
Files
- CHANGELOG.md +9/−0
- Data/Profunctor/Product/TH.hs +4/−4
- product-profunctors.cabal +1/−1
CHANGELOG.md view
@@ -4,6 +4,15 @@ properties, at the cost having to turn on `UndecidableInstances`. The tuple instances are now made by this method too. + Please note that if you have written your own `Default` instances+ containing tuples they will no longer work, or may break in+ unexpected ways. For example, the following are no longer supported++ ```haskell+ instance Default MyProfunctor (Foo, Bar) Baz+ instance Default MyProfunctor Foo, (Bar, Baz)+ ```+ # 0.10.0.1 * Added `Data.Profunctor.Product.Examples`
Data/Profunctor/Product/TH.hs view
@@ -75,12 +75,12 @@ -- then you will also get the instance -- -- @--- instance 'N.Newtype' Foo where--- 'N.constructor' = Foo--- 'N.field' = \\(Foo x) -> x+-- instance 'Data.Profunctor.Product.Newtype.Newtype' Foo where+-- 'Data.Profunctor.Product.Newtype.constructor' = Foo+-- 'Data.Profunctor.Product.Newtype.field' = \\(Foo x) -> x -- @ ----- which allows you to use the polymorphic function 'N.pNewtype'+-- which allows you to use the polymorphic function 'Data.Profunctor.Product.Newtype.pNewtype' -- instead of @pFoo@. -- -- If you prefer not to use Template Haskell then the generated code
product-profunctors.cabal view
@@ -1,6 +1,6 @@ name: product-profunctors copyright: Copyright (c) 2013, Karamaan Group LLC; 2014-2018 Purely Agile Limited; 2019-2020 Tom Ellis-version: 0.11.0.0+version: 0.11.0.1 synopsis: product-profunctors description: Product profunctors and tools for working with them homepage: https://github.com/tomjaguarpaw/product-profunctors