|
|
|
| Description |
| This modules deals with how to find imported modules and loading their
interface files.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Converts an Agda file name to the corresponding interface file
name.
|
|
|
| Merge an interface into the current proof state.
|
|
|
|
|
|
|
|
|
|
| Scope checks the given module. A proper version of the module
name (with correct definition sites) is returned.
|
|
|
|
|
|
|
|
|
|
| data CreateInterfaceResult | Source |
|
| Return type used by createInterface.
| | Constructors | | Success | Everything completed successfully, and an interface file was
written.
| | | Warnings | Type checking was successful, except for some termination
checking problems or unsolved meta-variables.
Meta-variable problems are reported as type errors unless we
are type checking a top-level module and the flag to allow
unsolved meta-variables has been selected.
| | terminationProblems :: [([QName], [Range])] | | | unsolvedMetaVariables :: [Range] | |
|
|
|
|
|
|
|
|
| :: ModuleName | The name of the current module.
| | -> HighlightingInfo | Syntax highlighting info for the module.
| | -> TCM Interface | | | Builds an interface for the current module, which should already
have been successfully type checked.
|
|
|
|
Set the current working directory based on the file name of the
current module and its module name, so that when the module is
imported qualified it will be found.
The given list of declarations should correspond to a module, i.e.
it should be non-empty and the last declaration should be
Module something.
|
|
|
| Move somewhere else.
|
|
|
| :: Maybe ModuleName | The module should have this name (might be
unknown).
| | -> FilePath | The module is defined in this file, whose
file name is known to be consistent with the
previous argument.
| | -> TopLevelInfo | The module.
| | -> TCM () | | | Checks that the top-level module name, the file name and what we
expect are consistent.
|
|
|
|
| True if the first file is newer than the second file. If a file doesn't
exist it is considered to be infinitely old.
|
|
| Produced by Haddock version 2.4.2 |