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.Compiler.MAlonzo.Misc

Synopsis
  • PackageAgda-2.8.0.2
  • Exports67
  • LanguageHaskell2010
  • LicenceMIT
  • SourceMisc.hs
datadata GHCOptions

The options derived from Agda.Compiler.MAlonzo.Compiler.GHCFlags and other shared options.

Constructors

Instances1ReadGHCOpts
datadata GHCEnv
Instances1ReadGHCOpts
  • Monad m => ReadGHCOpts (ReaderT GHCEnv m)Defined in Agda-2.8.0.2 · Agda.Compiler.MAlonzo.Compiler
classclass Monad m => ReadGHCModuleEnv (m :: Type -> Type) where
Instances6ReadGHCModuleEnv

Whether the current module is expected to have the main function. This corresponds to the IsMain flag provided to the backend, not necessarily whether the GHC module actually has a main function defined.

datadata VariableKind

Different kinds of variables: those starting with a, those starting with v, and those starting with x.

Turns strings into valid Haskell identifiers.

In order to avoid clashes with names of regular Haskell definitions (those not generated from Agda definitions), make sure that the Haskell names are always used qualified, with the exception of names from the prelude.

valueisModChar :: Char -> Bool

Can the character be used in a Haskell module name part (conid)? This function is more restrictive than what the Haskell report allows.