Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- startSandwichTree :: Options -> CoreSpec -> IO [RunNode BaseContext]
- startSandwichTree' :: BaseContext -> Options -> CoreSpec -> IO [RunNode BaseContext]
- runSandwichTree :: Options -> CoreSpec -> IO [RunNode BaseContext]
- runWithRepeat :: Int -> IO (ExitReason, Int) -> IO ()
- baseContextFromOptions :: Options -> IO BaseContext
- gatherNodeOptions :: Free (SpecCommand context m) r -> [NodeOptions]
- gatherMainFunctions :: Free (SpecCommand context m) r -> [NodeModuleInfo]
- takenMainOptions :: [Text]
- gatherShorthands :: [NodeModuleInfo] -> [(NodeModuleInfo, Text)]
Documentation
startSandwichTree :: Options -> CoreSpec -> IO [RunNode BaseContext] Source #
startSandwichTree' :: BaseContext -> Options -> CoreSpec -> IO [RunNode BaseContext] Source #
runSandwichTree :: Options -> CoreSpec -> IO [RunNode BaseContext] Source #
runWithRepeat :: Int -> IO (ExitReason, Int) -> IO () Source #
For 0 repeats, repeat until a failure
gatherNodeOptions :: Free (SpecCommand context m) r -> [NodeOptions] Source #
Gather all node options from a spec
gatherMainFunctions :: Free (SpecCommand context m) r -> [NodeModuleInfo] Source #
takenMainOptions :: [Text] Source #
TODO: get these automatically from mainCommandLineOptions
gatherShorthands :: [NodeModuleInfo] -> [(NodeModuleInfo, Text)] Source #