reactivity-0.3.2.4: An alternate implementation of push-pull FRP.

Safe HaskellSafe
LanguageHaskell98

FRP.Reactivity.RPC

Synopsis

Documentation

newtype RPC t Source #

A simple RPC server.

Constructors

RPC 

Fields

Instances

Monad RPC Source # 

Methods

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

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

return :: a -> RPC a #

fail :: String -> RPC a #

Functor RPC Source # 

Methods

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

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

Applicative RPC Source # 

Methods

pure :: a -> RPC a #

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

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

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

MonadIO RPC Source # 

Methods

liftIO :: IO a -> RPC a #

MonadThrow RPC Source # 

Methods

throwM :: Exception e => e -> RPC a #

MonadCatch RPC Source # 

Methods

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

rpcFinally :: RPC t -> RPC u -> RPC t Source #

rpcServer :: MVar (IO ()) -> IO () Source #

killRpcServer :: MVar (IO ()) -> IO () Source #