packages feed

Yampa 0.14 → 0.14.1

raw patch · 3 files changed

+16/−11 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -1,3 +1,7 @@+2023-02-07 Ivan Perez <ivan.perez@keera.co.uk>+        * Yampa.cabal: Version bump (0.14.1) (#251).+        * src/: Replace broken links (#253), fix typo (#252).+ 2022-12-07 Ivan Perez <ivan.perez@keera.co.uk>         * Yampa.cabal: Version bump (0.14) (#242), bump version bounds of           dependency (#241).
Yampa.cabal view
@@ -30,7 +30,7 @@ build-type:    Simple  name:          Yampa-version:       0.14+version:       0.14.1 author:        Henrik Nilsson, Antony Courtney maintainer:    Ivan Perez (ivan.perez@keera.co.uk) homepage:      https://github.com/ivanperez-keera/Yampa/@@ -71,6 +71,7 @@   description: Enable examples   default:     False   manual:      True+  library   exposed-modules:
src/FRP/Yampa/Switches.hs view
@@ -13,7 +13,7 @@ -- -- Switches allow you to change the signal function being applied. ----- The basic idea of switching is fromed by combining a subordinate signal+-- The basic idea of switching is formed by combining a subordinate signal -- function and a signal function continuation parameterised over some initial -- data. --@@ -363,7 +363,7 @@ -- of outputs. See 'par'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> parB :: Functor col => col (SF a b) -> SF a (col b) parB = par broadcast @@ -371,7 +371,7 @@ -- in parallel) with broadcasting. See 'pSwitch'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> 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)@@ -381,7 +381,7 @@ --   signal functions spatially composed in parallel). See 'dpSwitch'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> 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)@@ -400,7 +400,7 @@ -- See 'rpSwitch'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> rpSwitchB :: Functor col =>     col (SF a b) -> SF (a, Event (col (SF a b) -> col (SF a b))) (col b) rpSwitchB = rpSwitch broadcast@@ -418,7 +418,7 @@ -- This is the decoupled version of 'rpSwitchB'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> drpSwitchB :: Functor col =>     col (SF a b) -> SF (a, Event (col (SF a b) -> col (SF a b))) (col b) drpSwitchB = drpSwitch broadcast@@ -635,7 +635,7 @@ -- in parallel). See 'pSwitch'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> pSwitchZ :: [SF a b] -> SF ([a],[b]) (Event c) -> ([SF a b] -> c -> SF [a] [b])             -> SF [a] [b] pSwitchZ = pSwitch (safeZip "pSwitchZ")@@ -644,7 +644,7 @@ --   signal functions spatially composed in parallel). See 'dpSwitch'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> dpSwitchZ :: [SF a b] -> SF ([a],[b]) (Event c) -> ([SF a b] -> c ->SF [a] [b])              -> SF [a] [b] dpSwitchZ = dpSwitch (safeZip "dpSwitchZ")@@ -661,7 +661,7 @@ -- See 'rpSwitch'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> rpSwitchZ :: [SF a b] -> SF ([a], Event ([SF a b] -> [SF a b])) [b] rpSwitchZ = rpSwitch (safeZip "rpSwitchZ") @@ -677,7 +677,7 @@ -- See 'rpSwitchZ' and 'drpSwitch'. -- -- For more information on how parallel composition works, check--- <http://haskell.cs.yale.edu/wp-content/uploads/2011/01/yampa-arcade.pdf>+-- <https://www.antonycourtney.com/pubs/hw03.pdf> drpSwitchZ :: [SF a b] -> SF ([a], Event ([SF a b] -> [SF a b])) [b] drpSwitchZ = drpSwitch (safeZip "drpSwitchZ")