HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

Agda.Syntax.TopLevelModuleName

  • 2 types
  • 11 values
  • PackageAgda-2.8.0.2
  • Exports13
  • LanguageHaskell2010
  • LicenceMIT
  • SourceTopLevelModuleName.hs

Finds the current project's "root" directory, given a project file and the corresponding top-level module name.

Example: If the module "A.B.C" is located in the file "fooABC.agda", then the root is "foo".

Precondition: The module name must be well-formed.

Raw top-level module names (with linear-time comparisons).

Constructors

Instances13Eq, Ord, Show, Generic, Pretty, IsNoName, …

Orphan instances

2 instances