Workflow-0.8.2: Workflow patterns over a monad for thread state logging & recovery

Safe HaskellNone
LanguageHaskell98

Control.Workflow.Stat

Synopsis

Documentation

data WF s m l Source

Constructors

WF 

Fields

st :: s -> m (s, l)
 

Instances

(Monad m, MonadIO m, Serialize a, Typeable * a) => PMonadTrans (WF Stat) m a
plift= step
Monad m => Monad (WF s m) 
(Monad m, Functor m) => Functor (WF s m) 
(Monad m, Functor m) => Applicative (WF s m) 
MonadIO m => MonadIO (WF Stat m) 
(HasFork io, MonadIO io, MonadCatch io) => HasFork (WF Stat io) 

keyWF :: Indexable a => String -> a -> String Source

Return the unique name of a workflow with a parameter (executed with exec or start)

data WFRef a Source

Constructors

WFRef !Int !(DBRef Stat) 

Instances

Read (WFRef a) 
Show (WFRef a) 
Serialize (WFRef a) 
Indexable (WFRef a) 
Typeable (* -> *) WFRef 

stFName :: IResource a => a -> [Char] Source

safe :: FilePath -> (Handle -> IO a) -> IO a Source

showHistory :: Stat -> ByteString Source

show the state changes along the workflow, that is, all the intermediate results