active 0.2.0.12 → 0.2.0.13
raw patch · 3 files changed
+12/−7 lines, 3 filesdep ~QuickCheckdep ~basedep ~lensPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: QuickCheck, base, lens, semigroupoids, semigroups
API changes (from Hackage documentation)
- Data.Active: instance Control.Lens.Wrapped.Wrapped (Data.Functor.Bind.Class.MaybeApply f0 a0)
- Data.Active: instance Data.Functor.Bind.Class.MaybeApply f0 a0 ~ t0 => Control.Lens.Wrapped.Rewrapped (Data.Functor.Bind.Class.MaybeApply f1 a1) t0
Files
- CHANGES +7/−0
- active.cabal +4/−4
- src/Data/Active.hs +1/−3
CHANGES view
@@ -1,6 +1,13 @@+## [0.2.0.13](https://github.com/diagrams/active/tree/v0.2.0.13) (2017-05-16)++- fix for `lens-4.15.2`+ ## [0.2.0.12](https://github.com/diagrams/active/tree/v0.2.0.12) (2016-10-14) - allow `lens-4.15`++Included in revision 1 on Hackage:+- allow `semigroupoids-5.2` ## [v0.2.0.11](https://github.com/diagrams/active/tree/v0.2.0.11) (2016-08-01)
active.cabal view
@@ -1,5 +1,5 @@ name: active-version: 0.2.0.12+version: 0.2.0.13 synopsis: Abstractions for animation description: "Active" abstraction for animated things with finite start and end times. license: BSD3@@ -20,10 +20,10 @@ library exposed-modules: Data.Active- build-depends: base >= 4.0 && < 4.10,+ build-depends: base >= 4.0 && < 4.11, vector >= 0.10, semigroups >= 0.1 && < 0.19,- semigroupoids >= 1.2 && < 5.2,+ semigroupoids >= 1.2 && < 5.3, lens >= 4.0 && < 4.16, linear >= 1.14 && < 1.21 hs-source-dirs: src@@ -35,7 +35,7 @@ build-depends: base >= 4.0 && < 4.10, vector >= 0.10, semigroups >= 0.1 && < 0.19,- semigroupoids >= 1.2 && < 5.2,+ semigroupoids >= 1.2 && < 5.3, lens >= 4.0 && < 4.16, linear >= 1.14 && < 1.21, QuickCheck >= 2.9 && < 2.10
src/Data/Active.hs view
@@ -11,7 +11,6 @@ {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE ViewPatterns #-} -- UndecidableInstances needed for ghc < 707-{-# OPTIONS_GHC -fno-warn-orphans #-} ----------------------------------------------------------------------------- -- |@@ -329,10 +328,9 @@ deriving (Functor, Apply, Applicative) makeWrapped ''Active-makeWrapped ''MaybeApply active :: Iso' (Active a) (Either (Dynamic a) a)-active = _Wrapped . _Wrapped+active = _Wrapped . iso runMaybeApply MaybeApply -- | Active values over a type with a 'Semigroup' instance are also an -- instance of 'Semigroup'. Two active values are combined