Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Sig s es a r = Sig {}
- data ISig s es a r
- isig :: (r -> b) -> (a -> Sig s es a r -> b) -> ISig s es a r -> b
- emit :: a -> Sig s es a ()
- emitAll :: ISig s es a r -> Sig s es a r
- waitFor :: React s es r -> Sig s es a r
- res :: Sig s es a r -> React s es r
- ires :: ISig s es a r -> React s es r
- hold :: Sig s es a r
- repeat :: React s es a -> Sig s es a r
- find :: (a -> Bool) -> Sig s es a r -> React s es (Either a r)
- scanl :: (b -> a -> b) -> b -> Sig s es a r -> Sig s es b r
Type
Instances
((es :+: es) ~ es, Mergeable es es es, Monoid r) => Applicative (Flip (Sig s es) r) Source # | |
Defined in Control.Moffy.Internal.Sig pure :: a -> Flip (Sig s es) r a # (<*>) :: Flip (Sig s es) r (a -> b) -> Flip (Sig s es) r a -> Flip (Sig s es) r b # liftA2 :: (a -> b -> c) -> Flip (Sig s es) r a -> Flip (Sig s es) r b -> Flip (Sig s es) r c # (*>) :: Flip (Sig s es) r a -> Flip (Sig s es) r b -> Flip (Sig s es) r b # (<*) :: Flip (Sig s es) r a -> Flip (Sig s es) r b -> Flip (Sig s es) r a # | |
Functor (Flip (Sig s es) r) Source # | |
Applicative (Sig s es a) Source # | |
Defined in Control.Moffy.Internal.Sig.Type | |
Functor (Sig s es a) Source # | |
Monad (Sig s es a) Source # | |
Instances
((es :+: es) ~ es, Mergeable es es es, Semigroup r) => Applicative (Flip (ISig s es) r) Source # | |
Defined in Control.Moffy.Internal.Sig pure :: a -> Flip (ISig s es) r a # (<*>) :: Flip (ISig s es) r (a -> b) -> Flip (ISig s es) r a -> Flip (ISig s es) r b # liftA2 :: (a -> b -> c) -> Flip (ISig s es) r a -> Flip (ISig s es) r b -> Flip (ISig s es) r c # (*>) :: Flip (ISig s es) r a -> Flip (ISig s es) r b -> Flip (ISig s es) r b # (<*) :: Flip (ISig s es) r a -> Flip (ISig s es) r b -> Flip (ISig s es) r a # | |
Functor (Flip (ISig s es) r) Source # | |
Applicative (ISig s es a) Source # | |
Defined in Control.Moffy.Internal.Sig.Type | |
Functor (ISig s es a) Source # | |
Monad (ISig s es a) Source # | |