netwire 4.0.5 → 4.0.6
raw patch · 3 files changed
+3/−2 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Control.Wire.Trans.Event: holdForI :: Monad m => Time -> Wire e m a b -> Wire e m a b
+ Control.Wire.Trans.Event: holdForI :: Monad m => Int -> Wire e m a b -> Wire e m a b
Files
- Control/Wire.hs +1/−0
- Control/Wire/Trans/Event.hs +1/−1
- netwire.cabal +1/−1
Control/Wire.hs view
@@ -175,6 +175,7 @@ > module Main where >+> import Control.Monad.Identity (Identity) > import Control.Wire > import Prelude hiding ((.), id) > import Text.Printf
Control/Wire/Trans/Event.hs view
@@ -183,7 +183,7 @@ -- -- * Inhibits: as described. -holdForI :: (Monad m) => Time -> Wire e m a b -> Wire e m a b+holdForI :: (Monad m) => Int -> Wire e m a b -> Wire e m a b holdForI t0 w = hold' . exhibit w where hold' = mkPure $ \_ -> id &&& either (const hold') (hold'' t0)
netwire.cabal view
@@ -1,5 +1,5 @@ Name: netwire-Version: 4.0.5+Version: 4.0.6 Category: Control, FRP Synopsis: Flexible wire arrows for FRP Maintainer: Ertugrul Söylemez <es@ertes.de>