packages feed

czipwith 1.0.1.0 → 1.0.1.1

raw patch · 2 files changed

+8/−3 lines, 2 filesdep ~basedep ~template-haskellPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, template-haskell

API changes (from Hackage documentation)

- Data.CZipWith: class CFunctor c
+ Data.CZipWith: class CFunctor c where cMap f k = cZipWith (\ x _ -> f x) k k
- Data.CZipWith: class CZipWith c => CZipWithM c
+ Data.CZipWith: class CZipWith c => CZipWithM c where cTraverse f k = cZipWithM (\ x _ -> f x) k k cZipWithM f k l = cTraverse getCompose $ cZipWith (\ x y -> Compose (f x y)) k l

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for czipwith +## 1.0.1.1  -- October 2018++* Maintenance release for ghc-8.6+ ## 1.0.1.0  -- April 2018  * Add more classes: CFunctor, CPointed, CZipWithM
czipwith.cabal view
@@ -1,5 +1,5 @@ name:                czipwith-version:             1.0.1.0+version:             1.0.1.1 synopsis:            CZipWith class and deriving via TH description:         A typeclass similar to Data.Distributive, but for                      data parameterised with a type constructor. The name@@ -27,13 +27,14 @@   -- other-modules:          -- other-extensions:       build-depends:-    { base >=4.9 && <4.12-    , template-haskell >=2.9 && <2.14+    { base >=4.9 && <4.13+    , template-haskell >=2.9 && <2.15     }   hs-source-dirs:      src   default-language:    Haskell2010   ghc-options: {     -Wall+    -Wcompat   }  test-suite tests