packages feed

reflex-animation 0.1.3 → 0.1.4

raw patch · 3 files changed

+15/−17 lines, 3 filesdep ~containersdep ~profunctors

Dependency ranges changed: containers, profunctors

Files

.travis.yml view
@@ -22,8 +22,8 @@   include:     - env: CABALVER=1.18 GHCVER=7.8.4       addons: {apt: {packages: [cabal-install-1.18, ghc-7.8.4, alex-3.1.4, happy-1.19.5], sources: [hvr-ghc]}}-    - env: CABALVER=1.22 GHCVER=7.10.1-      addons: {apt: {packages: [cabal-install-1.22, ghc-7.10.1, alex-3.1.4, happy-1.19.5],sources: [hvr-ghc]}}+    - env: CABALVER=1.22 GHCVER=7.10.2+      addons: {apt: {packages: [cabal-install-1.22, ghc-7.10.2, alex-3.1.4, happy-1.19.5],sources: [hvr-ghc]}}     - env: CABALVER=head GHCVER=head       addons: {apt: {packages: [cabal-install-head, ghc-head, alex-3.1.4, happy-1.19.5],  sources: [hvr-ghc]}}   fast_finish: true
reflex-animation.cabal view
@@ -1,5 +1,5 @@ name:                reflex-animation-version:             0.1.3+version:             0.1.4 synopsis:            Continuous animations support for reflex description:         This package provides a set of functions for creating and playing continuous animations of the form Time -> a.                      Finite animations (with a length) and infinite animations complement one another, we chose a representation of @@ -37,8 +37,8 @@                        reflex-transformers >= 0.2,                        vector-space,                        semigroups >= 0.16 && < 0.18,-                       profunctors,-                       containers,+                       profunctors >= 1.0 && < 6.0,+                       containers  == 0.5.*,                        bifunctors    default-extensions:
src/Reflex/Animation.hs view
@@ -27,8 +27,6 @@   , linearOut   , piecewise   --   , keyframes   , keyframesWith   @@ -57,9 +55,9 @@   -- | Infinite animations time -> a. Supports operations:--- * Mapping over either time or the value using the Functor/Profunctor(lmap, rmap)--- * Combined in parallel with other infinite animations using Applicative/Monad--- * Turned into a finite animation by 'crop'+--      * Mapping over either time or the value using the Functor/Profunctor(lmap, rmap)+--     * Combined in parallel with other infinite animations using Applicative/Monad+--     * Turned into a finite animation by 'crop' newtype Animation time a = Animation { sampleAt :: time -> a }            deriving (Functor, Applicative, Monad, Profunctor)                      @@ -73,13 +71,13 @@   -- | Finite animations, Animation with a period. Supports operations:--- * Combined end-to end using Semigroup instance, e.g. 'sconcat'--- * Combined with Infinite animations with 'apply'--- * Turned into Inifinite animations by either: ---   > Clamping time - 'clamped' ---   > Using Maybe - 'toMaybe'---   > Repeating - 'repeat'--- * Futher cropped in various ways+--     * Combined end-to end using Semigroup instance, e.g. 'sconcat'+--     * Combined with Infinite animations with 'apply'+--     * Turned into Inifinite animations by either: +--         > Clamping time - 'clamped' +--         > Using Maybe - 'toMaybe'+--         > Repeating - 'repeat'+--     * Futher cropped in various ways data Clip time a = Clip { clipAnim :: Animation time a, period :: time }  instance Functor (Clip time) where