HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

ModuleAgda-2.8.0.2Haskell2010

Agda.Setup

Agda's self-setup.

Synopsis
  • 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.