packages feed

product-profunctors 0.8.0.2 → 0.8.0.3

raw patch · 2 files changed

+12/−10 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Data/Profunctor/Product/TH.hs view
@@ -18,7 +18,7 @@ -- \"adaptor\" with the following splice: -- -- @---  $(makeAdaptorAndInstance \"pFoo\" ''Foo)+-- \$(makeAdaptorAndInstance \"pFoo\" ''Foo) -- @ -- -- The adaptor for a type @Foo@ is by convention called @pFoo@, but in@@ -26,7 +26,7 @@ -- the name @pFoo@ yourself you can use -- -- @---  $(makeAdaptorAndInstance' ''Foo)+-- \$(makeAdaptorAndInstance' ''Foo) -- @ -- -- and it will be named @pFoo@ automatically.@@ -34,8 +34,9 @@ -- @pFoo@ will have the type -- -- @--- pFoo :: ProductProfunctor p =>---         Foo (p a a') (p b b') (p c c') -> p (Foo a b c) (Foo a' b' c')+-- pFoo :: ProductProfunctor p+--      => Foo (p a a') (p b b') (p c c')+--      -> p (Foo a b c) (Foo a' b' c') -- @ -- -- and the instance generated will be@@ -50,8 +51,9 @@ -- (its implementation is given below). -- -- @--- pFooApplicative :: Applicative f =>---         Foo (f a) (f b) (f c) -> f (Foo a b c)+-- pFooApplicative :: Applicative f+--                 => Foo (f a) (f b) (f c)+--                 -> f (Foo a b c) -- @ -- -- The product-profunctor \"adaptor\" (in this case @pFoo@) is a@@ -85,7 +87,7 @@ -- -- If you prefer not to use Template Haskell then the generated code -- can be written by hand because it is quite simple.  It corresponds--- very closely to what you would do in the more familiar+-- very closely to what we would do in the more familiar -- @Applicative@ case.  For an @Applicative@ we would write -- -- @@@ -126,7 +128,7 @@ -- | For example -- -- @--- $(makeAdaptorAndInstance \"pFoo\" ''Foo)+-- \$(makeAdaptorAndInstance \"pFoo\" ''Foo) -- @ -- -- generates the 'Default' instance and the adaptor @pFoo@.@@ -136,7 +138,7 @@ -- | For example -- -- @--- $(makeAdaptorAndInstance ''Foo)+-- \$(makeAdaptorAndInstance ''Foo) -- @ -- -- generates the 'Default' instance and the adaptor @pFoo@.  The name
product-profunctors.cabal view
@@ -1,6 +1,6 @@ name:          product-profunctors copyright:     Copyright (c) 2013, Karamaan Group LLC; 2014-2017 Purely Agile Limited-version:       0.8.0.2+version:       0.8.0.3 synopsis:      product-profunctors description:   Product profunctors homepage:      https://github.com/tomjaguarpaw/product-profunctors