packages feed

Yampa 0.14.11 → 0.14.12

raw patch · 3 files changed

+53/−2 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

+ FRP.Yampa: abortWhen :: Task a b c -> SF a (Event d) -> Task a b (Either c d)
+ FRP.Yampa: andThen :: SF a (Event b) -> SF a (Event b) -> SF a (Event b)
+ FRP.Yampa: arr2 :: Arrow a => (b -> c -> d) -> a (b, c) d
+ FRP.Yampa: arr3 :: Arrow a => (b -> c -> d -> e) -> a (b, c, d) e
+ FRP.Yampa: arr4 :: Arrow a => (b -> c -> d -> e -> f) -> a (b, c, d, e) f
+ FRP.Yampa: arr5 :: Arrow a => (b -> c -> d -> e -> f -> g) -> a (b, c, d, e, f) g
+ FRP.Yampa: constT :: b -> Task a b c
+ FRP.Yampa: dTrackAndHold :: a -> SF (Maybe a) a
+ FRP.Yampa: data Task a b c
+ FRP.Yampa: dpSwitchZ :: [SF a b] -> SF ([a], [b]) (Event c) -> ([SF a b] -> c -> SF [a] [b]) -> SF [a] [b]
+ FRP.Yampa: drpSwitchZ :: [SF a b] -> SF ([a], Event ([SF a b] -> [SF a b])) [b]
+ FRP.Yampa: fby :: b -> SF a b -> SF a b
+ FRP.Yampa: infixl 0 `abortWhen`
+ FRP.Yampa: infixr 5 `andThen`
+ FRP.Yampa: mkTask :: SF a (b, Event c) -> Task a b c
+ FRP.Yampa: pSwitchZ :: [SF a b] -> SF ([a], [b]) (Event c) -> ([SF a b] -> c -> SF [a] [b]) -> SF [a] [b]
+ FRP.Yampa: parC :: SF a b -> SF [a] [b]
+ FRP.Yampa: parZ :: [SF a b] -> SF [a] [b]
+ FRP.Yampa: provided :: (a -> Bool) -> SF a b -> SF a b -> SF a b
+ FRP.Yampa: recur :: SF a (Event b) -> SF a (Event b)
+ FRP.Yampa: rpSwitchZ :: [SF a b] -> SF ([a], Event ([SF a b] -> [SF a b])) [b]
+ FRP.Yampa: runTask :: Task a b c -> SF a (Either b c)
+ FRP.Yampa: runTask_ :: Task a b c -> SF a b
+ FRP.Yampa: sample :: Time -> SF a (Event a)
+ FRP.Yampa: sampleWindow :: Int -> Time -> SF a (Event [a])
+ FRP.Yampa: sleepT :: Time -> b -> Task a b ()
+ FRP.Yampa: snap :: SF a (Event a)
+ FRP.Yampa: snapAfter :: Time -> SF a (Event a)
+ FRP.Yampa: snapT :: Task a b a
+ FRP.Yampa: taskToSF :: Task a b c -> SF a (b, Event c)
+ FRP.Yampa: timeOut :: Task a b c -> Time -> Task a b (Maybe c)
- FRP.Yampa: infixr 0 >=-
+ FRP.Yampa: infixr 0 `fby`

Files

CHANGELOG view
@@ -1,3 +1,7 @@+2024-12-07 Ivan Perez <ivan.perez@keera.co.uk>+    * Version bump (0.14.12) (#319).+    * Re-export missing definitions (#318).+ 2024-10-07 Ivan Perez <ivan.perez@keera.co.uk>     * Version bump (0.14.11) (#310).     * Add new publications by Schmidli et al. (#306).
Yampa.cabal view
@@ -30,7 +30,7 @@ build-type:    Simple  name:          Yampa-version:       0.14.11+version:       0.14.12 author:        Henrik Nilsson, Antony Courtney maintainer:    Ivan Perez (ivan.perez@keera.co.uk) homepage:      https://github.com/ivanperez-keera/Yampa/
src/FRP/Yampa.hs view
@@ -204,6 +204,16 @@     , takeEvents     , dropEvents +      -- ** Hybrid SF combinators+    , snap+    , snapAfter+    , sample+    , sampleWindow++      -- ** Repetition and switching+    , recur+    , andThen+       -- ** Pointwise functions on events     , noEvent     , noEventFst@@ -245,11 +255,21 @@     , pSwitch,  dpSwitch     , rpSwitch, drpSwitch +      -- ** Parallel composition/switching (lists)+      -- *** Parallel composition/switching with zip routing (lists)+    , parZ+    , pSwitchZ,  dpSwitchZ+    , rpSwitchZ, drpSwitchZ++      -- *** Parallel composition/switching with replication (lists)+    , parC+       -- * Discrete to continuous-time signal functions       -- ** Wave-form generation     , hold     , dHold     , trackAndHold+    , dTrackAndHold        -- ** Accumulators     , accum@@ -264,10 +284,15 @@       -- ** Basic delays     , pre     , iPre+    , fby        -- ** Timed delays     , delay +      -- * Conditional+      -- ** Guards and automata-oriented combinators+    , provided+       -- ** Variable delay     , pause @@ -314,9 +339,30 @@     , evalAt     , evalFuture +      -- * Tasks+      -- ** The Task type+    , Task+    , mkTask+    , runTask+    , runTask_+    , taskToSF++      -- ** Basic tasks+    , constT+    , sleepT+    , snapT++    -- ** Basic tasks combinators+    , timeOut+    , abortWhen+       -- * Auxiliary definitions       --   Reverse function composition and arrow plumbing aids     , dup+    , arr2+    , arr3+    , arr4+    , arr5        -- * Re-exported module, classes, and types     , module Control.Arrow@@ -329,7 +375,7 @@ import Data.VectorSpace  -- Internal modules-import FRP.Yampa.Arrow (dup)+import FRP.Yampa.Arrow import FRP.Yampa.Basic import FRP.Yampa.Conditional import FRP.Yampa.Delays@@ -343,4 +389,5 @@ import FRP.Yampa.Scan import FRP.Yampa.Simulation import FRP.Yampa.Switches+import FRP.Yampa.Task import FRP.Yampa.Time