active 0.2.0.17 → 0.2.0.18
raw patch · 3 files changed
+8/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES +5/−1
- active.cabal +1/−1
- test/active-tests.hs +2/−1
CHANGES view
@@ -1,4 +1,8 @@-## [0.2.0.17](https://github.com/diagrams/active/tree/v0.2.0.16) (2023-03-31)+## [0.2.0.18](https://github.com/diagrams/active/tree/v0.2.0.18) (2023-06-10)++- Fix failing test case ([#43](https://github.com/diagrams/active/issues/43))++## [0.2.0.17](https://github.com/diagrams/active/tree/v0.2.0.17) (2023-03-31) - Updates for GHC 9.6 - Allow `base-4.18`, `semigroupoids-6.0`
active.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: active-version: 0.2.0.17+version: 0.2.0.18 synopsis: Abstractions for animation description: "Active" abstraction for animated things with finite start and end times. license: BSD3
test/active-tests.hs view
@@ -133,8 +133,9 @@ where a1 = fromDynamic d1 a2 = fromDynamic d2 -prop_during_end :: Dynamic Bool -> Dynamic Bool -> Bool+prop_during_end :: Dynamic Bool -> Dynamic Bool -> Property prop_during_end d1 d2 =+ ((duration <$> activeEra a2) > Just 0) && ((duration <$> activeEra a1) > Just 0) ==> (end <$> activeEra (a1 `during` a2)) == (end <$> activeEra a2) where a1 = fromDynamic d1 a2 = fromDynamic d2