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.Setup

Agda's self-setup.

  • 4 values
  • PackageAgda-2.8.0.2
  • Exports4
  • LanguageHaskell2010
  • LicenceMIT
  • SourceSetup.hs

Get the path to ~/.agda (system-specific). Can be overwritten by the AGDA_DIR environment variable.

(This is not to be confused with the directory getDataDir for the data files that Agda needs (e.g. the primitive modules).)

valuesetup :: Bool -> IO ()
#

False: Check whether we need to setup Agda. This function can be called when starting up Agda.

True: force a setup e.g. when passing Agda option --setup.

Copies the embedded data files to the designated data directory.