Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class (MonadReflex t m, RealFrac time) => MonadTime t time m | m -> t time where
- observeChanges :: (Eq a, MonadTime t time m) => Behavior t a -> m (Event t a)
- delay_ :: MonadTime t time m => Event t time -> m (Event t ())
- pushFor :: Reflex t => Event t a -> (a -> PushM t b) -> Event t b
- animate :: (Reflex t, RealFrac time) => Animation time a -> Behavior t time -> Behavior t a
- animateClip :: (Reflex t, RealFrac time) => Clip time a -> Behavior t time -> Behavior t (Maybe a)
- animateOn :: (Reflex t, RealFrac time) => Event t (Animation time a) -> Behavior t time -> Event t (Behavior t a)
- play :: MonadTime t time m => Animation time a -> m (Behavior t a)
- playClip :: MonadTime t time m => Clip time a -> m (Behavior t (Maybe a), Event t ())
- playClamp :: MonadTime t time m => Clip time a -> m (Behavior t a, Event t ())
- playOn :: MonadTime t time m => Event t (Clip time a) -> m (Behavior t (Maybe a), Event t ())
- match :: (Reflex t, Eq a) => a -> Event t a -> Event t ()
- matchBy :: Reflex t => (a -> Bool) -> Event t a -> Event t ()
Documentation
class (MonadReflex t m, RealFrac time) => MonadTime t time m | m -> t time where Source
animateClip :: (Reflex t, RealFrac time) => Clip time a -> Behavior t time -> Behavior t (Maybe a) Source
Sample a Clip during it's period, outside it's period return Nothing
animateOn :: (Reflex t, RealFrac time) => Event t (Animation time a) -> Behavior t time -> Event t (Behavior t a) Source