SciFlow-0.5.0: Scientific workflow management system

Safe HaskellNone
LanguageHaskell2010

Scientific.Workflow.Types

Synopsis

Documentation

newtype WorkflowDB Source #

An abstract type representing the database used to store states of workflow

Constructors

WorkflowDB Connection 

data Workflow Source #

A Workflow is a DAG

Constructors

Workflow (Map Text Attribute) (Map String Closure) (Processor () ()) 

data Closure where Source #

Constructors

Closure :: (DBData a, DBData b) => (a -> IO b) -> Closure 

type PID = Text Source #

The id of a node

data NodeResult Source #

The result of a computation node

data WorkflowState Source #

Constructors

WorkflowState 

Fields

type Processor a b = a -> ProcState b Source #

data RunOpt Source #

Constructors

RunOpt 

Fields

class BatchData a b where Source #

Minimal complete definition

batchFunction

Methods

batchFunction :: (a -> IO b) -> Int -> (a -> [a], [b] -> b) Source #

Instances

((~) * (IsList a b) flag, BatchData' flag a b) => BatchData a b Source # 

Methods

batchFunction :: (a -> IO b) -> Int -> (a -> [a], [b] -> b) Source #

class BatchData' flag a b where Source #

Minimal complete definition

batchFunction'

Methods

batchFunction' :: flag -> (a -> IO b) -> Int -> (a -> [a], [b] -> b) Source #

type family IsList a b where ... Source #

Equations

IsList [a] [b] = HTrue 
IsList a b = HFalse 

data Attribute Source #

Node attribute

Constructors

Attribute 

Fields