Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Run a pure function or an IO monadic continuation
Documentation
data SimpleTask i o where Source #
PureTask :: (i -> o) -> SimpleTask i o | |
IOTask :: (i -> IO o) -> SimpleTask i o |
Instances
IsFlow SimpleTask Source # | |
Defined in Funflow.Flow toFlow :: SimpleTask i o -> Flow i o Source # |