| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Agda.Compiler.Common
Synopsis
- data IsMain
 - doCompile :: Monoid r => (IsMain -> Interface -> TCM r) -> IsMain -> Interface -> TCM r
 - doCompile' :: Monoid r => (IsMain -> Interface -> TCM r) -> IsMain -> Interface -> StateT (Set ModuleName) TCM r
 - setInterface :: Interface -> TCM ()
 - curIF :: ReadTCState m => m Interface
 - curMName :: ReadTCState m => m TopLevelModuleName
 - curDefs :: ReadTCState m => m Definitions
 - sortDefs :: Definitions -> [(QName, Definition)]
 - compileDir :: HasOptions m => m FilePath
 - repl :: [String] -> String -> String
 - inCompilerEnv :: CheckResult -> TCM a -> TCM a
 - topLevelModuleName :: ReadTCState m => ModuleName -> m TopLevelModuleName
 
Documentation
doCompile' :: Monoid r => (IsMain -> Interface -> TCM r) -> IsMain -> Interface -> StateT (Set ModuleName) TCM r Source #
setInterface :: Interface -> TCM () Source #
curIF :: ReadTCState m => m Interface Source #
curMName :: ReadTCState m => m TopLevelModuleName Source #
curDefs :: ReadTCState m => m Definitions Source #
sortDefs :: Definitions -> [(QName, Definition)] Source #
compileDir :: HasOptions m => m FilePath Source #
inCompilerEnv :: CheckResult -> TCM a -> TCM a Source #
Sets up the compilation environment.
topLevelModuleName :: ReadTCState m => ModuleName -> m TopLevelModuleName Source #