packages feed

Yampa 0.10.0 → 0.10.1

raw patch · 1 files changed

+4/−3 lines, 1 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ FRP.Yampa.Basic: (-->) :: b -> SF a b -> SF a b
+ FRP.Yampa.Basic: (-=>) :: (b -> b) -> SF a b -> SF a b
+ FRP.Yampa.Basic: (>--) :: a -> SF a b -> SF a b
+ FRP.Yampa.Basic: (>=-) :: (a -> a) -> SF a b -> SF a b
+ FRP.Yampa.Basic: constant :: b -> SF a b
+ FRP.Yampa.Basic: identity :: SF a a
+ FRP.Yampa.Basic: initially :: a -> SF a a
+ FRP.Yampa.Conditional: pause :: b -> SF a Bool -> SF a b -> SF a b
+ FRP.Yampa.Conditional: provided :: (a -> Bool) -> SF a b -> SF a b -> SF a b
+ FRP.Yampa.Delays: delay :: Time -> a -> SF a a
+ FRP.Yampa.Delays: fby :: b -> SF a b -> SF a b
+ FRP.Yampa.Delays: iPre :: a -> SF a a
+ FRP.Yampa.Delays: pre :: SF a a
+ FRP.Yampa.Diagnostics: intErr :: String -> String -> String -> a
+ FRP.Yampa.Diagnostics: usrErr :: String -> String -> String -> a
+ FRP.Yampa.EventS: after :: Time -> b -> SF a (Event b)
+ FRP.Yampa.EventS: afterEach :: [(Time, b)] -> SF a (Event b)
+ FRP.Yampa.EventS: afterEachCat :: [(Time, b)] -> SF a (Event [b])
+ FRP.Yampa.EventS: andThen :: SF a (Event b) -> SF a (Event b) -> SF a (Event b)
+ FRP.Yampa.EventS: delayEvent :: Time -> SF (Event a) (Event a)
+ FRP.Yampa.EventS: delayEventCat :: Time -> SF (Event a) (Event [a])
+ FRP.Yampa.EventS: dropEvents :: Int -> SF (Event a) (Event a)
+ FRP.Yampa.EventS: edge :: SF Bool (Event ())
+ FRP.Yampa.EventS: edgeBy :: (a -> a -> Maybe b) -> a -> SF a (Event b)
+ FRP.Yampa.EventS: edgeJust :: SF (Maybe a) (Event a)
+ FRP.Yampa.EventS: edgeTag :: a -> SF Bool (Event a)
+ FRP.Yampa.EventS: iEdge :: Bool -> SF Bool (Event ())
+ FRP.Yampa.EventS: never :: SF a (Event b)
+ FRP.Yampa.EventS: notYet :: SF (Event a) (Event a)
+ FRP.Yampa.EventS: now :: b -> SF a (Event b)
+ FRP.Yampa.EventS: once :: SF (Event a) (Event a)
+ FRP.Yampa.EventS: recur :: SF a (Event b) -> SF a (Event b)
+ FRP.Yampa.EventS: repeatedly :: Time -> b -> SF a (Event b)
+ FRP.Yampa.EventS: sample :: Time -> SF a (Event a)
+ FRP.Yampa.EventS: snap :: SF a (Event a)
+ FRP.Yampa.EventS: snapAfter :: Time -> SF a (Event a)
+ FRP.Yampa.EventS: takeEvents :: Int -> SF (Event a) (Event a)
+ FRP.Yampa.Hybrid: accum :: a -> SF (Event (a -> a)) (Event a)
+ FRP.Yampa.Hybrid: accumBy :: (b -> a -> b) -> b -> SF (Event a) (Event b)
+ FRP.Yampa.Hybrid: accumFilter :: (c -> a -> (c, Maybe b)) -> c -> SF (Event a) (Event b)
+ FRP.Yampa.Hybrid: accumHold :: a -> SF (Event (a -> a)) a
+ FRP.Yampa.Hybrid: accumHoldBy :: (b -> a -> b) -> b -> SF (Event a) b
+ FRP.Yampa.Hybrid: dAccumHold :: a -> SF (Event (a -> a)) a
+ FRP.Yampa.Hybrid: dAccumHoldBy :: (b -> a -> b) -> b -> SF (Event a) b
+ FRP.Yampa.Hybrid: dHold :: a -> SF (Event a) a
+ FRP.Yampa.Hybrid: dTrackAndHold :: a -> SF (Maybe a) a
+ FRP.Yampa.Hybrid: hold :: a -> SF (Event a) a
+ FRP.Yampa.Hybrid: trackAndHold :: a -> SF (Maybe a) a
+ FRP.Yampa.Integration: count :: Integral b => SF (Event a) (Event b)
+ FRP.Yampa.Integration: derivative :: VectorSpace a s => SF a a
+ FRP.Yampa.Integration: imIntegral :: VectorSpace a s => a -> SF a a
+ FRP.Yampa.Integration: impulseIntegral :: VectorSpace a k => SF (a, Event a) a
+ FRP.Yampa.Integration: integral :: VectorSpace a s => SF a a
+ FRP.Yampa.Loop: loopIntegral :: VectorSpace c s => SF (a, c) (b, c) -> SF a b
+ FRP.Yampa.Loop: loopPre :: c -> SF (a, c) (b, c) -> SF a b
+ FRP.Yampa.Random: class Random a
+ FRP.Yampa.Random: class RandomGen g
+ FRP.Yampa.Random: genRange :: RandomGen g => g -> (Int, Int)
+ FRP.Yampa.Random: next :: RandomGen g => g -> (Int, g)
+ FRP.Yampa.Random: noise :: (RandomGen g, Random b) => g -> SF a b
+ FRP.Yampa.Random: noiseR :: (RandomGen g, Random b) => (b, b) -> g -> SF a b
+ FRP.Yampa.Random: occasionally :: RandomGen g => g -> Time -> b -> SF a (Event b)
+ FRP.Yampa.Random: random :: (Random a, RandomGen g) => g -> (a, g)
+ FRP.Yampa.Random: randomIO :: Random a => IO a
+ FRP.Yampa.Random: randomR :: (Random a, RandomGen g) => (a, a) -> g -> (a, g)
+ FRP.Yampa.Random: randomRIO :: Random a => (a, a) -> IO a
+ FRP.Yampa.Random: randomRs :: (Random a, RandomGen g) => (a, a) -> g -> [a]
+ FRP.Yampa.Random: randoms :: (Random a, RandomGen g) => g -> [a]
+ FRP.Yampa.Random: split :: RandomGen g => g -> (g, g)
+ FRP.Yampa.Scan: sscan :: (b -> a -> b) -> b -> SF a b
+ FRP.Yampa.Scan: sscanPrim :: (c -> a -> Maybe (c, b)) -> c -> b -> SF a b
+ FRP.Yampa.Simulation: deltaEncode :: Eq a => DTime -> [a] -> (a, [(DTime, Maybe a)])
+ FRP.Yampa.Simulation: deltaEncodeBy :: (a -> a -> Bool) -> DTime -> [a] -> (a, [(DTime, Maybe a)])
+ FRP.Yampa.Simulation: embed :: SF a b -> (a, [(DTime, Maybe a)]) -> [b]
+ FRP.Yampa.Simulation: embedSynch :: SF a b -> (a, [(DTime, Maybe a)]) -> SF Double b
+ FRP.Yampa.Simulation: react :: ReactHandle a b -> (DTime, Maybe a) -> IO Bool
+ FRP.Yampa.Simulation: reactInit :: IO a -> (ReactHandle a b -> Bool -> b -> IO Bool) -> SF a b -> IO (ReactHandle a b)
+ FRP.Yampa.Simulation: reactimate :: IO a -> (Bool -> IO (DTime, Maybe a)) -> (Bool -> b -> IO Bool) -> SF a b -> IO ()
+ FRP.Yampa.Simulation: type ReactHandle a b = IORef (ReactState a b)
+ FRP.Yampa.Switches: dSwitch :: SF a (b, Event c) -> (c -> SF a b) -> SF a b
+ FRP.Yampa.Switches: dkSwitch :: SF a b -> SF (a, b) (Event c) -> (SF a b -> c -> SF a b) -> SF a b
+ FRP.Yampa.Switches: dpSwitch :: Functor col => (forall sf. a -> col sf -> col (b, sf)) -> col (SF b c) -> SF (a, col c) (Event d) -> (col (SF b c) -> d -> SF a (col c)) -> SF a (col c)
+ FRP.Yampa.Switches: dpSwitchB :: Functor col => col (SF a b) -> SF (a, col b) (Event c) -> (col (SF a b) -> c -> SF a (col b)) -> SF a (col b)
+ FRP.Yampa.Switches: dpSwitchZ :: [SF a b] -> SF ([a], [b]) (Event c) -> ([SF a b] -> c -> SF [a] [b]) -> SF [a] [b]
+ FRP.Yampa.Switches: drSwitch :: SF a b -> SF (a, Event (SF a b)) b
+ FRP.Yampa.Switches: drpSwitch :: Functor col => (forall sf. a -> col sf -> col (b, sf)) -> col (SF b c) -> SF (a, Event (col (SF b c) -> col (SF b c))) (col c)
+ FRP.Yampa.Switches: drpSwitchB :: Functor col => col (SF a b) -> SF (a, Event (col (SF a b) -> col (SF a b))) (col b)
+ FRP.Yampa.Switches: drpSwitchZ :: [SF a b] -> SF ([a], Event ([SF a b] -> [SF a b])) [b]
+ FRP.Yampa.Switches: kSwitch :: SF a b -> SF (a, b) (Event c) -> (SF a b -> c -> SF a b) -> SF a b
+ FRP.Yampa.Switches: pSwitch :: Functor col => (forall sf. a -> col sf -> col (b, sf)) -> col (SF b c) -> SF (a, col c) (Event d) -> (col (SF b c) -> d -> SF a (col c)) -> SF a (col c)
+ FRP.Yampa.Switches: pSwitchB :: Functor col => col (SF a b) -> SF (a, col b) (Event c) -> (col (SF a b) -> c -> SF a (col b)) -> SF a (col b)
+ FRP.Yampa.Switches: pSwitchZ :: [SF a b] -> SF ([a], [b]) (Event c) -> ([SF a b] -> c -> SF [a] [b]) -> SF [a] [b]
+ FRP.Yampa.Switches: par :: Functor col => (forall sf. a -> col sf -> col (b, sf)) -> col (SF b c) -> SF a (col c)
+ FRP.Yampa.Switches: parB :: Functor col => col (SF a b) -> SF a (col b)
+ FRP.Yampa.Switches: parZ :: [SF a b] -> SF [a] [b]
+ FRP.Yampa.Switches: rSwitch :: SF a b -> SF (a, Event (SF a b)) b
+ FRP.Yampa.Switches: rpSwitch :: Functor col => (forall sf. a -> col sf -> col (b, sf)) -> col (SF b c) -> SF (a, Event (col (SF b c) -> col (SF b c))) (col c)
+ FRP.Yampa.Switches: rpSwitchB :: Functor col => col (SF a b) -> SF (a, Event (col (SF a b) -> col (SF a b))) (col b)
+ FRP.Yampa.Switches: rpSwitchZ :: [SF a b] -> SF ([a], Event ([SF a b] -> [SF a b])) [b]
+ FRP.Yampa.Switches: switch :: SF a (b, Event c) -> (c -> SF a b) -> SF a b
+ FRP.Yampa.Time: localTime :: SF a Time
+ FRP.Yampa.Time: time :: SF a Time

Files

Yampa.cabal view
@@ -1,5 +1,5 @@ name: Yampa-version: 0.10.0+version: 0.10.1 cabal-version: >= 1.8 license: BSD3 license-file: LICENSE@@ -68,8 +68,6 @@     FRP.Yampa.MergeableRecord     FRP.Yampa.Miscellany     FRP.Yampa.Utilities-  other-modules:-    FRP.Yampa.InternalCore     FRP.Yampa.Basic     FRP.Yampa.Conditional     FRP.Yampa.Delays@@ -83,6 +81,9 @@     FRP.Yampa.Simulation     FRP.Yampa.Switches     FRP.Yampa.Time++  other-modules:+    FRP.Yampa.InternalCore  test-suite hlint   type: exitcode-stdio-1.0