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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 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