barbies 1.1.1.0 → 1.1.2.0
raw patch · 3 files changed
+7/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- barbies.cabal +1/−1
- src/Data/Barbie/Internal/Product.hs +2/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for barbies +## 1.1.2.0+ - Add `traverseC` (Ole Krüger).+ - Fix typo in ProductB laws (thanks to Ben Radford).+ ## 1.1.1.0 - Add `bmapC` (Chris Penner).
barbies.cabal view
@@ -1,5 +1,5 @@ name: barbies-version: 1.1.1.0+version: 1.1.2.0 synopsis: Classes for working with types that can change clothes. description: Types that are parametric on a functor are like Barbies that have an outfit for each role. This package provides the basic abstractions to work with them comfortably. category: Data-structures
src/Data/Barbie/Internal/Product.hs view
@@ -27,8 +27,8 @@ -- | Barbie-types that can form products, subject to the laws: -- -- @--- 'bmap' (\\('Pair' a _) -> a) . 'uncurry' . 'bprod' = 'fst'--- 'bmap' (\\('Pair' _ b) -> b) . 'uncurry' . 'bprod' = 'snd'+-- 'bmap' (\\('Pair' a _) -> a) . 'uncurry' 'bprod' = 'fst'+-- 'bmap' (\\('Pair' _ b) -> b) . 'uncurry' 'bprod' = 'snd' -- @ -- -- Notice that because of the laws, having an internal product structure is not