Agda-2.6.20240714: A dependently typed functional programming language and proof assistant
Safe HaskellNone
LanguageHaskell2010

Agda.Interaction.Options.Lenses

Description

Lenses for CommandLineOptions and PragmaOptions.

Add as needed.

Nothing smart happening here.

Synopsis

Pragma options

Verbosity in the local pragma options

Command line options

Safe mode

type SafeMode = Bool Source #

builtinModulesWithSafePostulates :: Set FilePath Source #

These builtins may use postulates, and are still considered --safe

builtinModulesWithUnsafePostulates :: Set FilePath Source #

These builtins may not use postulates under --safe. They are not automatically unsafe, but will be if they use an unsafe feature.

primitiveModules :: Set FilePath Source #

builtinModules :: Set FilePath Source #

isPrimitiveModule :: MonadIO m => FilePath -> m Bool Source #

isBuiltinModule :: MonadIO m => FilePath -> m Bool Source #

isBuiltinModuleWithSafePostulates :: MonadIO m => FilePath -> m Bool Source #

Include directories

class LensIncludePaths a where Source #

Minimal complete definition

getIncludePaths, getAbsoluteIncludePaths

Methods

getIncludePaths :: a -> [FilePath] Source #

setIncludePaths :: [FilePath] -> a -> a Source #

mapIncludePaths :: ([FilePath] -> [FilePath]) -> a -> a Source #

getAbsoluteIncludePaths :: a -> [AbsolutePath] Source #

setAbsoluteIncludePaths :: [AbsolutePath] -> a -> a Source #

mapAbsoluteIncludePaths :: ([AbsolutePath] -> [AbsolutePath]) -> a -> a Source #

Instances

Instances details
LensIncludePaths CommandLineOptions Source # 
Instance details

Defined in Agda.Interaction.Options.Lenses

LensIncludePaths PersistentTCState Source # 
Instance details

Defined in Agda.Interaction.Options.Lenses

LensIncludePaths TCState Source # 
Instance details

Defined in Agda.Interaction.Options.Lenses

modifyIncludePaths :: MonadTCState m => ([FilePath] -> [FilePath]) -> m () Source #

putIncludePaths :: MonadTCState m => [FilePath] -> m () Source #

Include directories

class LensPersistentVerbosity a where Source #

Minimal complete definition

getPersistentVerbosity

Instances

Instances details
LensPersistentVerbosity CommandLineOptions Source # 
Instance details

Defined in Agda.Interaction.Options.Lenses

LensPersistentVerbosity PragmaOptions Source # 
Instance details

Defined in Agda.Interaction.Options.Lenses

LensPersistentVerbosity PersistentTCState Source # 
Instance details

Defined in Agda.Interaction.Options.Lenses

LensPersistentVerbosity TCState Source # 
Instance details

Defined in Agda.Interaction.Options.Lenses