Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Pipeline fromlore tolore
- data PipelineConfig = PipelineConfig {}
- data Action lore = Action {
- actionName :: String
- actionDescription :: String
- actionProcedure :: Prog lore -> FutharkM ()
- data FutharkM a
- runFutharkM :: FutharkM a -> Verbosity -> IO (Either CompilerError a)
- data Verbosity
- internalErrorS :: Pretty t => String -> t -> FutharkM a
- module Futhark.Error
- onePass :: Checkable tolore => Pass fromlore tolore -> Pipeline fromlore tolore
- passes :: Checkable lore => [Pass lore lore] -> Pipeline lore lore
- runPasses :: Pipeline fromlore tolore -> PipelineConfig -> Prog fromlore -> FutharkM (Prog tolore)
Documentation
Action | |
|
Instances
Monad FutharkM Source # | |
Functor FutharkM Source # | |
Applicative FutharkM Source # | |
MonadIO FutharkM Source # | |
Defined in Futhark.Pipeline | |
MonadLogger FutharkM Source # | |
MonadFreshNames FutharkM Source # | |
Defined in Futhark.Pipeline getNameSource :: FutharkM VNameSource Source # putNameSource :: VNameSource -> FutharkM () Source # | |
MonadError CompilerError FutharkM Source # | |
Defined in Futhark.Pipeline throwError :: CompilerError -> FutharkM a # catchError :: FutharkM a -> (CompilerError -> FutharkM a) -> FutharkM a # |
runFutharkM :: FutharkM a -> Verbosity -> IO (Either CompilerError a) Source #
If Verbose, print log messages to standard error. If VeryVerbose, also print logs from individual passes.
module Futhark.Error