Safe Haskell | None |
---|---|
Language | Haskell2010 |
- node :: ToExpQ q => PID -> q -> State Attribute () -> Builder ()
- link :: [PID] -> PID -> Builder ()
- (~>) :: [PID] -> PID -> Builder ()
- path :: [PID] -> Builder ()
- type Builder = State ([Node], [Edge])
- buildWorkflow :: String -> Builder () -> Q [Dec]
- buildWorkflowPart :: FilePath -> String -> Builder () -> Q [Dec]
- mkDAG :: Builder () -> DAG
Documentation
Declare a computational node. The function must have the signature: (DBData a, DBData b) => a -> IO b
link :: [PID] -> PID -> Builder () Source #
Declare a function that can be called on remote function :: ToExpQ q => T.Text -> q -> Builder () function funcName fn =
many-to-one generalized link function
Build the workflow. This function will first create functions defined in the builder. These pieces will then be assembled to form a function that will execute each individual function in a correct order, named $prefix$_sciflow. Lastly, a function table will be created with the name $prefix$_function_table.
Build only a part of the workflow that has not been executed. This is used during development for fast compliation.