| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Cli.Programs
Documentation
class CompilerBackend b where Source #
Methods
runCxxCommand :: (MonadIO m, ErrorContextM m) => b -> CxxCommand -> m String Source #
runTestCommand :: (MonadIO m, ErrorContextM m) => b -> TestCommand -> m TestCommandResult Source #
getCompilerHash :: b -> VersionHash Source #
Instances
| CompilerBackend Backend Source # | |
Defined in Config.LocalConfig Methods runCxxCommand :: (MonadIO m, ErrorContextM m) => Backend -> CxxCommand -> m String Source # runTestCommand :: (MonadIO m, ErrorContextM m) => Backend -> TestCommand -> m TestCommandResult Source # getCompilerHash :: Backend -> VersionHash Source # | |
data CxxCommand Source #
Constructors
| CompileToObject | |
| CompileToBinary | |
Fields
| |
Instances
| Show CxxCommand Source # | |
Defined in Cli.Programs Methods showsPrec :: Int -> CxxCommand -> ShowS # show :: CxxCommand -> String # showList :: [CxxCommand] -> ShowS # | |
data TestCommand Source #
Instances
| Show TestCommand Source # | |
Defined in Cli.Programs Methods showsPrec :: Int -> TestCommand -> ShowS # show :: TestCommand -> String # showList :: [TestCommand] -> ShowS # | |
data TestCommandResult Source #
Constructors
| TestCommandResult | |
Instances
| Show TestCommandResult Source # | |
Defined in Cli.Programs Methods showsPrec :: Int -> TestCommandResult -> ShowS # show :: TestCommandResult -> String # showList :: [TestCommandResult] -> ShowS # | |
newtype VersionHash Source #
Constructors
| VersionHash String |
Instances
| Eq VersionHash Source # | |
Defined in Cli.Programs | |
| Show VersionHash Source # | |
Defined in Cli.Programs Methods showsPrec :: Int -> VersionHash -> ShowS # show :: VersionHash -> String # showList :: [VersionHash] -> ShowS # | |