| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Control.Concurrent.Execute
Synopsis
- data ActionType
- data ActionId = ActionId !PackageIdentifier !ActionType
- data ActionContext = ActionContext {
- remaining :: !(Set ActionId)
- downstream :: [Action]
- concurrency :: !Concurrency
- data Action = Action {
- actionId :: !ActionId
- actionDeps :: !(Set ActionId)
- action :: !(ActionContext -> IO ())
- concurrency :: !Concurrency
- data Concurrency
- runActions :: Int -> Bool -> [Action] -> (TVar Int -> TVar (Set ActionId) -> IO ()) -> IO [SomeException]
Documentation
data ActionType Source #
Type representing types of Stack build actions.
Constructors
| ATBuild | Action for building a package's library and executables. If
|
| ATBuildFinal | Task for building the package's benchmarks and test-suites. Requires that the library was already built. |
| ATRunTests | Task for running the package's test-suites. |
| ATRunBenchmarks | Task for running the package's benchmarks. |
Instances
| Show ActionType Source # | |
Defined in Control.Concurrent.Execute Methods showsPrec :: Int -> ActionType -> ShowS # show :: ActionType -> String # showList :: [ActionType] -> ShowS # | |
| Eq ActionType Source # | |
Defined in Control.Concurrent.Execute | |
| Ord ActionType Source # | |
Defined in Control.Concurrent.Execute Methods compare :: ActionType -> ActionType -> Ordering # (<) :: ActionType -> ActionType -> Bool # (<=) :: ActionType -> ActionType -> Bool # (>) :: ActionType -> ActionType -> Bool # (>=) :: ActionType -> ActionType -> Bool # max :: ActionType -> ActionType -> ActionType # min :: ActionType -> ActionType -> ActionType # | |
Types representing the unique ids of Stack build actions.
Constructors
| ActionId !PackageIdentifier !ActionType |
data ActionContext Source #
Constructors
| ActionContext | |
Fields
| |
Type representing Stack build actions.
Constructors
| Action | |
Fields
| |
data Concurrency Source #
Type representing permissions for actions to be run concurrently with others.
Constructors
| ConcurrencyAllowed | |
| ConcurrencyDisallowed |
Instances
| Eq Concurrency Source # | |
Defined in Control.Concurrent.Execute | |