The main function
ModuleAgda-2.7.0.1Haskell2010
Agda.Main
Agda main module.
- 3 types
- 17 values
- PackageAgda-2.7.0.1
- Exports20
- LanguageHaskell2010
- LicenceMIT
- SourceMain.hs
The main function without importing built-in backends
Main execution mode
Determine the main execution mode to run, based on the configured backends and command line options. | This is pure.
value
runAgdaWithOptions :: Interactor aBackend interaction
-> Stringprogram name
-> CommandLineOptionsparsed command line options
-> TCM a
Run Agda with parsed command line options
Print usage information.
Print version information.
What to do for bad options.
Run a TCM action in IO; catch and pretty print errors.
If the error is an IO error, and the error message suggests that the problem is related to locales or code pages, print out some extra information.