packages feed

reactive-banana 0.4.3.1 → 0.4.3.2

raw patch · 1 files changed

+3/−3 lines, 1 filesdep ~QuickCheckdep ~basedep ~containersPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: QuickCheck, base, containers

API changes (from Hackage documentation)

+ Reactive.Banana.Tests: add1 :: (Functor f, Num b) => f b -> f b
+ Reactive.Banana.Tests: counter :: (Num b, FRP f) => Event f a -> Event f b
+ Reactive.Banana.Tests: double :: FRP f => Event f a -> Event f a
+ Reactive.Banana.Tests: filtering :: (Num a, Ord a, FRP f) => Event f a -> Event f a
+ Reactive.Banana.Tests: sharing :: (Num a, Ord a, FRP f) => Event f a -> Event f a
+ Reactive.Banana.Tests: test :: (Event PushIO Int -> Event PushIO b) -> IO [[b]]
+ Reactive.Banana.Tests: testSuite :: IO ()
- Reactive.Banana.Model: class (Functor f, Functor g) => Apply f g
+ Reactive.Banana.Model: class (Functor f, Functor g) => Apply f g where f <@ g = (const <$> f) <@> g
- Reactive.Banana.Model: class (Functor (Event f), Functor (Behavior f), Applicative (Behavior f)) => FRP f
+ Reactive.Banana.Model: class (Functor (Event f), Functor (Behavior f), Applicative (Behavior f)) => FRP f where filterE p = filterApply (pure p) filterApply bp = fmap snd . filterE fst . apply ((\ p a -> (p a, a)) <$> bp) accumB acc = stepper acc . accumE acc stepper acc = accumB acc . fmap const

Files

reactive-banana.cabal view
@@ -1,5 +1,5 @@ Name:                reactive-banana-Version:             0.4.3.1+Version:             0.4.3.2 Synopsis:            Small but solid library for                      functional reactive programming (FRP). Description:         @@ -49,9 +49,9 @@                         Rank2Types, NoMonomorphismRestriction,                         DeriveDataTypeable     build-depends:-        base >= 4.3 && < 5, containers == 0.4.*,+        base >= 4.2 && < 5, containers >= 0.3 && < 0.5,         transformers == 0.2.*,-        QuickCheck == 2.4.*,+        QuickCheck >= 1.2 && < 2.5,         vault == 0.1.*     exposed-modules:    Reactive.Banana,                         Reactive.Banana.Incremental,