reflex-0.4.0.1: Higher-order Functional Reactive Programming

Safe HaskellNone
LanguageHaskell98

Reflex.Spider

Documentation

data Spider Source #

Instances

Reflex Spider Source # 
ReflexHost Spider Source # 

Associated Types

type EventTrigger Spider :: * -> * Source #

type EventHandle Spider :: * -> * Source #

type HostFrame Spider :: * -> * Source #

MonadHold Spider ReadPhase Source # 

Methods

hold :: a -> Event Spider a -> ReadPhase (Behavior Spider a) Source #

MonadHold Spider SpiderHostFrame Source # 
MonadHold Spider SpiderHost Source # 

Methods

hold :: a -> Event Spider a -> SpiderHost (Behavior Spider a) Source #

MonadHold Spider EventM Source # 

Methods

hold :: a -> Event Spider a -> EventM (Behavior Spider a) Source #

MonadSample Spider ReadPhase Source # 
MonadSample Spider SpiderHostFrame Source # 
MonadSample Spider SpiderHost Source # 
MonadSample Spider EventM Source # 

Methods

sample :: Behavior Spider a -> EventM a Source #

MonadSample Spider BehaviorM Source # 
MonadReflexHost Spider SpiderHost Source # 
MonadReflexCreateTrigger Spider SpiderHostFrame Source # 
MonadReflexCreateTrigger Spider SpiderHost Source # 
MonadReadEvent Spider ReadPhase Source # 
MonadSubscribeEvent Spider SpiderHostFrame Source # 
MonadSubscribeEvent Spider SpiderHost Source # 
data Behavior Spider Source # 
data Event Spider Source # 
type PushM Spider Source # 
type PullM Spider Source # 
type EventTrigger Spider Source # 
type EventHandle Spider Source # 
type HostFrame Spider Source # 

newtype SpiderHost a Source #

Constructors

SpiderHost 

Fields

Instances

Monad SpiderHost Source # 

Methods

(>>=) :: SpiderHost a -> (a -> SpiderHost b) -> SpiderHost b #

(>>) :: SpiderHost a -> SpiderHost b -> SpiderHost b #

return :: a -> SpiderHost a #

fail :: String -> SpiderHost a #

Functor SpiderHost Source # 

Methods

fmap :: (a -> b) -> SpiderHost a -> SpiderHost b #

(<$) :: a -> SpiderHost b -> SpiderHost a #

MonadFix SpiderHost Source # 

Methods

mfix :: (a -> SpiderHost a) -> SpiderHost a #

Applicative SpiderHost Source # 

Methods

pure :: a -> SpiderHost a #

(<*>) :: SpiderHost (a -> b) -> SpiderHost a -> SpiderHost b #

(*>) :: SpiderHost a -> SpiderHost b -> SpiderHost b #

(<*) :: SpiderHost a -> SpiderHost b -> SpiderHost a #

MonadIO SpiderHost Source # 

Methods

liftIO :: IO a -> SpiderHost a #

MonadException SpiderHost Source # 

Methods

throw :: Exception e => e -> SpiderHost a #

catch :: Exception e => SpiderHost a -> (e -> SpiderHost a) -> SpiderHost a #

finally :: SpiderHost a -> SpiderHost b -> SpiderHost a #

MonadAsyncException SpiderHost Source # 

Methods

mask :: ((forall a. SpiderHost a -> SpiderHost a) -> SpiderHost b) -> SpiderHost b #

MonadRef SpiderHost Source # 

Associated Types

type Ref (SpiderHost :: * -> *) :: * -> * #

Methods

newRef :: a -> SpiderHost (Ref SpiderHost a) #

readRef :: Ref SpiderHost a -> SpiderHost a #

writeRef :: Ref SpiderHost a -> a -> SpiderHost () #

modifyRef :: Ref SpiderHost a -> (a -> a) -> SpiderHost () #

modifyRef' :: Ref SpiderHost a -> (a -> a) -> SpiderHost () #

MonadAtomicRef SpiderHost Source # 

Methods

atomicModifyRef :: Ref SpiderHost a -> (a -> (a, b)) -> SpiderHost b #

atomicModifyRef' :: Ref SpiderHost a -> (a -> (a, b)) -> SpiderHost b #

MonadHold Spider SpiderHost Source # 

Methods

hold :: a -> Event Spider a -> SpiderHost (Behavior Spider a) Source #

MonadSample Spider SpiderHost Source # 
MonadReflexHost Spider SpiderHost Source # 
MonadReflexCreateTrigger Spider SpiderHost Source # 
MonadSubscribeEvent Spider SpiderHost Source # 
type Ref SpiderHost Source # 
type ReadPhase SpiderHost Source #