Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CommandLineOptions = Options {
- optProgramName :: String
- optInputFile :: Maybe FilePath
- optIncludePaths :: [FilePath]
- optAbsoluteIncludePaths :: [AbsolutePath]
- optLibraries :: [LibName]
- optOverrideLibrariesFile :: Maybe FilePath
- optDefaultLibs :: Bool
- optUseLibs :: Bool
- optTraceImports :: Integer
- optTrustedExecutables :: Map ExeName FilePath
- optPrintAgdaDir :: Bool
- optPrintVersion :: Maybe PrintAgdaVersion
- optPrintHelp :: Maybe Help
- optInteractive :: Bool
- optGHCiInteraction :: Bool
- optJSONInteraction :: Bool
- optExitOnError :: !Bool
- optCompileDir :: Maybe FilePath
- optGenerateVimFile :: Bool
- optIgnoreInterfaces :: Bool
- optIgnoreAllInterfaces :: Bool
- optLocalInterfaces :: Bool
- optPragmaOptions :: PragmaOptions
- optOnlyScopeChecking :: Bool
- optTransliterate :: Bool
- optDiagnosticsColour :: DiagnosticsColours
- data PragmaOptions = PragmaOptions {
- _optShowImplicit :: WithDefault 'False
- _optShowGeneralized :: WithDefault 'True
- _optShowIrrelevant :: WithDefault 'False
- _optUseUnicode :: WithDefault' UnicodeOrAscii 'True
- _optVerbose :: !Verbosity
- _optProfiling :: ProfileOptions
- _optProp :: WithDefault 'False
- _optLevelUniverse :: WithDefault 'False
- _optTwoLevel :: WithDefault 'False
- _optAllowUnsolved :: WithDefault 'False
- _optAllowIncompleteMatch :: WithDefault 'False
- _optPositivityCheck :: WithDefault 'True
- _optTerminationCheck :: WithDefault 'True
- _optTerminationDepth :: CutOff
- _optUniverseCheck :: WithDefault 'True
- _optOmegaInOmega :: WithDefault 'False
- _optCumulativity :: WithDefault 'False
- _optSizedTypes :: WithDefault 'False
- _optGuardedness :: WithDefault 'False
- _optInjectiveTypeConstructors :: WithDefault 'False
- _optUniversePolymorphism :: WithDefault 'True
- _optIrrelevantProjections :: WithDefault 'False
- _optExperimentalIrrelevance :: WithDefault 'False
- _optWithoutK :: WithDefault 'False
- _optCubicalCompatible :: WithDefault 'False
- _optCopatterns :: WithDefault 'True
- _optPatternMatching :: WithDefault 'True
- _optExactSplit :: WithDefault 'False
- _optHiddenArgumentPuns :: WithDefault 'False
- _optEta :: WithDefault 'True
- _optForcing :: WithDefault 'True
- _optProjectionLike :: WithDefault 'True
- _optErasure :: WithDefault 'False
- _optErasedMatches :: WithDefault 'True
- _optEraseRecordParameters :: WithDefault 'False
- _optRewriting :: WithDefault 'False
- _optCubical :: Maybe Cubical
- _optGuarded :: WithDefault 'False
- _optFirstOrder :: WithDefault 'False
- _optPostfixProjections :: WithDefault 'False
- _optKeepPatternVariables :: WithDefault 'False
- _optInferAbsurdClauses :: WithDefault 'True
- _optInstanceSearchDepth :: Int
- _optOverlappingInstances :: WithDefault 'False
- _optQualifiedInstances :: WithDefault 'True
- _optInversionMaxDepth :: Int
- _optSafe :: WithDefault 'False
- _optDoubleCheck :: WithDefault 'False
- _optSyntacticEquality :: !(Maybe Int)
- _optWarningMode :: WarningMode
- _optCompileMain :: WithDefault 'True
- _optCaching :: WithDefault 'True
- _optCountClusters :: WithDefault 'False
- _optAutoInline :: WithDefault 'False
- _optPrintPatternSynonyms :: WithDefault 'True
- _optFastReduce :: WithDefault 'True
- _optCallByName :: WithDefault 'False
- _optConfluenceCheck :: Maybe ConfluenceCheck
- _optCohesion :: WithDefault 'False
- _optFlatSplit :: WithDefault 'False
- _optImportSorts :: WithDefault 'True
- _optLoadPrimitives :: WithDefault 'True
- _optAllowExec :: WithDefault 'False
- _optSaveMetas :: WithDefault 'False
- _optShowIdentitySubstitutions :: WithDefault 'False
- _optKeepCoveringClauses :: WithDefault 'False
- _optLargeIndices :: WithDefault 'False
- _optForcedArgumentRecursion :: WithDefault 'True
- data OptionWarning = OptionRenamed {
- oldOptionName :: String
- newOptionName :: String
- optionWarningName :: OptionWarning -> WarningName
- type Flag opts = opts -> OptM opts
- data OptM a
- runOptM :: OptM opts -> (Either OptionError opts, OptionWarnings)
- data OptDescr a = Option [Char] [String] (ArgDescr a) String
- data ArgDescr a
- type Verbosity = Maybe (Trie VerboseKeyItem VerboseLevel)
- type VerboseKey = String
- type VerboseLevel = Int
- data WarningMode = WarningMode {
- _warningSet :: Set WarningName
- _warn2Error :: Bool
- data ConfluenceCheck
- data PrintAgdaVersion
- data UnicodeOrAscii
- data DiagnosticsColours
- checkOpts :: MonadError OptionError m => CommandLineOptions -> m CommandLineOptions
- parsePragmaOptions :: OptionsPragma -> CommandLineOptions -> OptM PragmaOptions
- parsePluginOptions :: [String] -> [OptDescr (Flag opts)] -> Flag opts
- parseVerboseKey :: VerboseKey -> [VerboseKeyItem]
- stripRTS :: [String] -> [String]
- defaultOptions :: CommandLineOptions
- defaultInteractionOptions :: PragmaOptions
- defaultCutOff :: CutOff
- defaultPragmaOptions :: PragmaOptions
- standardOptions_ :: [OptDescr ()]
- unsafePragmaOptions :: PragmaOptions -> [String]
- recheckBecausePragmaOptionsChanged :: PragmaOptions -> PragmaOptions -> Bool
- data InfectiveCoinfective
- data InfectiveCoinfectiveOption = ICOption {
- icOptionActive :: PragmaOptions -> Bool
- icOptionDescription :: String
- icOptionKind :: InfectiveCoinfective
- icOptionOK :: PragmaOptions -> PragmaOptions -> Bool
- icOptionWarning :: TopLevelModuleName -> Doc
- infectiveCoinfectiveOptions :: [InfectiveCoinfectiveOption]
- safeFlag :: Flag PragmaOptions
- mapFlag :: (String -> String) -> OptDescr a -> OptDescr a
- usage :: [OptDescr ()] -> String -> Help -> String
- inputFlag :: FilePath -> Flag CommandLineOptions
- standardOptions :: [OptDescr (Flag CommandLineOptions)]
- deadStandardOptions :: [OptDescr (Flag CommandLineOptions)]
- getOptSimple :: [String] -> [OptDescr (Flag opts)] -> (String -> Flag opts) -> Flag opts
- lensOptShowImplicit :: Lens' PragmaOptions _
- lensOptShowIrrelevant :: Lens' PragmaOptions _
- lensOptUseUnicode :: Lens' PragmaOptions _
- lensOptVerbose :: Lens' PragmaOptions _
- lensOptProfiling :: Lens' PragmaOptions _
- lensOptProp :: Lens' PragmaOptions _
- lensOptLevelUniverse :: Lens' PragmaOptions _
- lensOptTwoLevel :: Lens' PragmaOptions _
- lensOptAllowUnsolved :: Lens' PragmaOptions _
- lensOptAllowIncompleteMatch :: Lens' PragmaOptions _
- lensOptPositivityCheck :: Lens' PragmaOptions _
- lensOptTerminationCheck :: Lens' PragmaOptions _
- lensOptTerminationDepth :: Lens' PragmaOptions _
- lensOptUniverseCheck :: Lens' PragmaOptions _
- lensOptNoUniverseCheck :: Lens' PragmaOptions _
- lensOptOmegaInOmega :: Lens' PragmaOptions _
- lensOptCumulativity :: Lens' PragmaOptions _
- lensOptSizedTypes :: Lens' PragmaOptions _
- lensOptGuardedness :: Lens' PragmaOptions _
- lensOptInjectiveTypeConstructors :: Lens' PragmaOptions _
- lensOptUniversePolymorphism :: Lens' PragmaOptions _
- lensOptIrrelevantProjections :: Lens' PragmaOptions _
- lensOptExperimentalIrrelevance :: Lens' PragmaOptions _
- lensOptWithoutK :: Lens' PragmaOptions _
- lensOptCubicalCompatible :: Lens' PragmaOptions _
- lensOptCopatterns :: Lens' PragmaOptions _
- lensOptPatternMatching :: Lens' PragmaOptions _
- lensOptExactSplit :: Lens' PragmaOptions _
- lensOptHiddenArgumentPuns :: Lens' PragmaOptions _
- lensOptEta :: Lens' PragmaOptions _
- lensOptForcing :: Lens' PragmaOptions _
- lensOptProjectionLike :: Lens' PragmaOptions _
- lensOptErasure :: Lens' PragmaOptions _
- lensOptErasedMatches :: Lens' PragmaOptions _
- lensOptEraseRecordParameters :: Lens' PragmaOptions _
- lensOptRewriting :: Lens' PragmaOptions _
- lensOptCubical :: Lens' PragmaOptions _
- lensOptGuarded :: Lens' PragmaOptions _
- lensOptFirstOrder :: Lens' PragmaOptions _
- lensOptPostfixProjections :: Lens' PragmaOptions _
- lensOptKeepPatternVariables :: Lens' PragmaOptions _
- lensOptInferAbsurdClauses :: Lens' PragmaOptions _
- lensOptInstanceSearchDepth :: Lens' PragmaOptions _
- lensOptOverlappingInstances :: Lens' PragmaOptions _
- lensOptQualifiedInstances :: Lens' PragmaOptions _
- lensOptInversionMaxDepth :: Lens' PragmaOptions _
- lensOptSafe :: Lens' PragmaOptions _
- lensOptDoubleCheck :: Lens' PragmaOptions _
- lensOptSyntacticEquality :: Lens' PragmaOptions _
- lensOptWarningMode :: Lens' PragmaOptions _
- lensOptCompileMain :: Lens' PragmaOptions _
- lensOptCaching :: Lens' PragmaOptions _
- lensOptCountClusters :: Lens' PragmaOptions _
- lensOptAutoInline :: Lens' PragmaOptions _
- lensOptPrintPatternSynonyms :: Lens' PragmaOptions _
- lensOptFastReduce :: Lens' PragmaOptions _
- lensOptCallByName :: Lens' PragmaOptions _
- lensOptConfluenceCheck :: Lens' PragmaOptions _
- lensOptCohesion :: Lens' PragmaOptions _
- lensOptFlatSplit :: Lens' PragmaOptions _
- lensOptImportSorts :: Lens' PragmaOptions _
- lensOptLoadPrimitives :: Lens' PragmaOptions _
- lensOptAllowExec :: Lens' PragmaOptions _
- lensOptSaveMetas :: Lens' PragmaOptions _
- lensOptShowIdentitySubstitutions :: Lens' PragmaOptions _
- lensOptKeepCoveringClauses :: Lens' PragmaOptions _
- optShowImplicit :: PragmaOptions -> Bool
- optShowGeneralized :: PragmaOptions -> Bool
- optShowIrrelevant :: PragmaOptions -> Bool
- optProp :: PragmaOptions -> Bool
- optLevelUniverse :: PragmaOptions -> Bool
- optTwoLevel :: PragmaOptions -> Bool
- optAllowUnsolved :: PragmaOptions -> Bool
- optAllowIncompleteMatch :: PragmaOptions -> Bool
- optPositivityCheck :: PragmaOptions -> Bool
- optTerminationCheck :: PragmaOptions -> Bool
- optUniverseCheck :: PragmaOptions -> Bool
- optOmegaInOmega :: PragmaOptions -> Bool
- optCumulativity :: PragmaOptions -> Bool
- optSizedTypes :: PragmaOptions -> Bool
- optGuardedness :: PragmaOptions -> Bool
- optInjectiveTypeConstructors :: PragmaOptions -> Bool
- optUniversePolymorphism :: PragmaOptions -> Bool
- optIrrelevantProjections :: PragmaOptions -> Bool
- optExperimentalIrrelevance :: PragmaOptions -> Bool
- optWithoutK :: PragmaOptions -> Bool
- optCubicalCompatible :: PragmaOptions -> Bool
- optCopatterns :: PragmaOptions -> Bool
- optPatternMatching :: PragmaOptions -> Bool
- optHiddenArgumentPuns :: PragmaOptions -> Bool
- optEta :: PragmaOptions -> Bool
- optForcing :: PragmaOptions -> Bool
- optProjectionLike :: PragmaOptions -> Bool
- optErasure :: PragmaOptions -> Bool
- optErasedMatches :: PragmaOptions -> Bool
- optEraseRecordParameters :: PragmaOptions -> Bool
- optRewriting :: PragmaOptions -> Bool
- optGuarded :: PragmaOptions -> Bool
- optFirstOrder :: PragmaOptions -> Bool
- optPostfixProjections :: PragmaOptions -> Bool
- optKeepPatternVariables :: PragmaOptions -> Bool
- optInferAbsurdClauses :: PragmaOptions -> Bool
- optOverlappingInstances :: PragmaOptions -> Bool
- optQualifiedInstances :: PragmaOptions -> Bool
- optSafe :: PragmaOptions -> Bool
- optDoubleCheck :: PragmaOptions -> Bool
- optCompileNoMain :: PragmaOptions -> Bool
- optCaching :: PragmaOptions -> Bool
- optCountClusters :: PragmaOptions -> Bool
- optAutoInline :: PragmaOptions -> Bool
- optPrintPatternSynonyms :: PragmaOptions -> Bool
- optFastReduce :: PragmaOptions -> Bool
- optCallByName :: PragmaOptions -> Bool
- optCohesion :: PragmaOptions -> Bool
- optFlatSplit :: PragmaOptions -> Bool
- optImportSorts :: PragmaOptions -> Bool
- optLoadPrimitives :: PragmaOptions -> Bool
- optAllowExec :: PragmaOptions -> Bool
- optSaveMetas :: PragmaOptions -> Bool
- optShowIdentitySubstitutions :: PragmaOptions -> Bool
- optKeepCoveringClauses :: PragmaOptions -> Bool
- optLargeIndices :: PragmaOptions -> Bool
- optForcedArgumentRecursion :: PragmaOptions -> Bool
- optConfluenceCheck :: PragmaOptions -> _
- optCubical :: PragmaOptions -> _
- optInstanceSearchDepth :: PragmaOptions -> _
- optInversionMaxDepth :: PragmaOptions -> _
- optProfiling :: PragmaOptions -> _
- optSyntacticEquality :: PragmaOptions -> _
- optTerminationDepth :: PragmaOptions -> _
- optUseUnicode :: PragmaOptions -> UnicodeOrAscii
- optVerbose :: PragmaOptions -> _
- optWarningMode :: PragmaOptions -> _
- class (Functor m, Applicative m, Monad m) => HasOptions m where
Documentation
data CommandLineOptions Source #
Options | |
|
Instances
LensIncludePaths CommandLineOptions Source # | |
Defined in Agda.Interaction.Options.Lenses getIncludePaths :: CommandLineOptions -> [FilePath] Source # setIncludePaths :: [FilePath] -> CommandLineOptions -> CommandLineOptions Source # mapIncludePaths :: ([FilePath] -> [FilePath]) -> CommandLineOptions -> CommandLineOptions Source # getAbsoluteIncludePaths :: CommandLineOptions -> [AbsolutePath] Source # setAbsoluteIncludePaths :: [AbsolutePath] -> CommandLineOptions -> CommandLineOptions Source # mapAbsoluteIncludePaths :: ([AbsolutePath] -> [AbsolutePath]) -> CommandLineOptions -> CommandLineOptions Source # | |
LensPersistentVerbosity CommandLineOptions Source # | |
Defined in Agda.Interaction.Options.Lenses | |
LensPragmaOptions CommandLineOptions Source # | |
Defined in Agda.Interaction.Options.Lenses getPragmaOptions :: CommandLineOptions -> PragmaOptions Source # setPragmaOptions :: PragmaOptions -> CommandLineOptions -> CommandLineOptions Source # mapPragmaOptions :: (PragmaOptions -> PragmaOptions) -> CommandLineOptions -> CommandLineOptions Source # lensPragmaOptions :: Lens' CommandLineOptions PragmaOptions Source # | |
LensSafeMode CommandLineOptions Source # | |
Defined in Agda.Interaction.Options.Lenses getSafeMode :: CommandLineOptions -> SafeMode Source # setSafeMode :: SafeMode -> CommandLineOptions -> CommandLineOptions Source # mapSafeMode :: (SafeMode -> SafeMode) -> CommandLineOptions -> CommandLineOptions Source # | |
Generic CommandLineOptions Source # | |
Defined in Agda.Interaction.Options.Base type Rep CommandLineOptions :: Type -> Type from :: CommandLineOptions -> Rep CommandLineOptions x to :: Rep CommandLineOptions x -> CommandLineOptions | |
Show CommandLineOptions Source # | |
Defined in Agda.Interaction.Options.Base showsPrec :: Int -> CommandLineOptions -> ShowS show :: CommandLineOptions -> String showList :: [CommandLineOptions] -> ShowS | |
NFData CommandLineOptions Source # | |
Defined in Agda.Interaction.Options.Base rnf :: CommandLineOptions -> () | |
type Rep CommandLineOptions Source # | |
Defined in Agda.Interaction.Options.Base type Rep CommandLineOptions = D1 ('MetaData "CommandLineOptions" "Agda.Interaction.Options.Base" "Agda-2.6.3.20230930-inplace" 'False) (C1 ('MetaCons "Options" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "optProgramName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "optInputFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath)) :*: S1 ('MetaSel ('Just "optIncludePaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]))) :*: (S1 ('MetaSel ('Just "optAbsoluteIncludePaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AbsolutePath]) :*: (S1 ('MetaSel ('Just "optLibraries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LibName]) :*: S1 ('MetaSel ('Just "optOverrideLibrariesFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath))))) :*: ((S1 ('MetaSel ('Just "optDefaultLibs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "optUseLibs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "optTraceImports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) :*: ((S1 ('MetaSel ('Just "optTrustedExecutables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ExeName FilePath)) :*: S1 ('MetaSel ('Just "optPrintAgdaDir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "optPrintVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PrintAgdaVersion)) :*: S1 ('MetaSel ('Just "optPrintHelp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Help)))))) :*: (((S1 ('MetaSel ('Just "optInteractive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "optGHCiInteraction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "optJSONInteraction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "optExitOnError") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "optCompileDir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath)) :*: S1 ('MetaSel ('Just "optGenerateVimFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "optIgnoreInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "optIgnoreAllInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "optLocalInterfaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "optPragmaOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PragmaOptions) :*: S1 ('MetaSel ('Just "optOnlyScopeChecking") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "optTransliterate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "optDiagnosticsColour") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DiagnosticsColours))))))) |
data PragmaOptions Source #
Options which can be set in a pragma.
PragmaOptions | |
|
Instances
LensPersistentVerbosity PragmaOptions Source # | |
Defined in Agda.Interaction.Options.Lenses | |
LensSafeMode PragmaOptions Source # | |
Defined in Agda.Interaction.Options.Lenses getSafeMode :: PragmaOptions -> SafeMode Source # setSafeMode :: SafeMode -> PragmaOptions -> PragmaOptions Source # mapSafeMode :: (SafeMode -> SafeMode) -> PragmaOptions -> PragmaOptions Source # | |
LensVerbosity PragmaOptions Source # | |
Defined in Agda.Interaction.Options.Lenses getVerbosity :: PragmaOptions -> Verbosity Source # setVerbosity :: Verbosity -> PragmaOptions -> PragmaOptions Source # mapVerbosity :: (Verbosity -> Verbosity) -> PragmaOptions -> PragmaOptions Source # | |
EmbPrj PragmaOptions Source # | |
Defined in Agda.TypeChecking.Serialise.Instances.Errors icode :: PragmaOptions -> S Int32 Source # icod_ :: PragmaOptions -> S Int32 Source # value :: Int32 -> R PragmaOptions Source # | |
Generic PragmaOptions Source # | |
Defined in Agda.Interaction.Options.Base type Rep PragmaOptions :: Type -> Type from :: PragmaOptions -> Rep PragmaOptions x to :: Rep PragmaOptions x -> PragmaOptions | |
Show PragmaOptions Source # | |
Defined in Agda.Interaction.Options.Base showsPrec :: Int -> PragmaOptions -> ShowS show :: PragmaOptions -> String showList :: [PragmaOptions] -> ShowS | |
NFData PragmaOptions Source # | |
Defined in Agda.Interaction.Options.Base rnf :: PragmaOptions -> () | |
Eq PragmaOptions Source # | |
Defined in Agda.Interaction.Options.Base (==) :: PragmaOptions -> PragmaOptions -> Bool (/=) :: PragmaOptions -> PragmaOptions -> Bool | |
type Rep PragmaOptions Source # | |
Defined in Agda.Interaction.Options.Base type Rep PragmaOptions = D1 ('MetaData "PragmaOptions" "Agda.Interaction.Options.Base" "Agda-2.6.3.20230930-inplace" 'False) (C1 ('MetaCons "PragmaOptions" 'PrefixI 'True) ((((((S1 ('MetaSel ('Just "_optShowImplicit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optShowGeneralized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True))) :*: (S1 ('MetaSel ('Just "_optShowIrrelevant") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optUseUnicode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault' UnicodeOrAscii 'True)))) :*: ((S1 ('MetaSel ('Just "_optVerbose") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Verbosity) :*: S1 ('MetaSel ('Just "_optProfiling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProfileOptions)) :*: (S1 ('MetaSel ('Just "_optProp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optLevelUniverse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))))) :*: (((S1 ('MetaSel ('Just "_optTwoLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optAllowUnsolved") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optAllowIncompleteMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optPositivityCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)))) :*: ((S1 ('MetaSel ('Just "_optTerminationCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: S1 ('MetaSel ('Just "_optTerminationDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CutOff)) :*: (S1 ('MetaSel ('Just "_optUniverseCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: (S1 ('MetaSel ('Just "_optOmegaInOmega") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optCumulativity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))))))) :*: ((((S1 ('MetaSel ('Just "_optSizedTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optGuardedness") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optInjectiveTypeConstructors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optUniversePolymorphism") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)))) :*: ((S1 ('MetaSel ('Just "_optIrrelevantProjections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optExperimentalIrrelevance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optWithoutK") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optCubicalCompatible") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))))) :*: (((S1 ('MetaSel ('Just "_optCopatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: S1 ('MetaSel ('Just "_optPatternMatching") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True))) :*: (S1 ('MetaSel ('Just "_optExactSplit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optHiddenArgumentPuns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)))) :*: ((S1 ('MetaSel ('Just "_optEta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: S1 ('MetaSel ('Just "_optForcing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True))) :*: (S1 ('MetaSel ('Just "_optProjectionLike") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: (S1 ('MetaSel ('Just "_optErasure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optErasedMatches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)))))))) :*: (((((S1 ('MetaSel ('Just "_optEraseRecordParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optRewriting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optCubical") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Cubical)) :*: S1 ('MetaSel ('Just "_optGuarded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)))) :*: ((S1 ('MetaSel ('Just "_optFirstOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optPostfixProjections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optKeepPatternVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optInferAbsurdClauses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True))))) :*: (((S1 ('MetaSel ('Just "_optInstanceSearchDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_optOverlappingInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optQualifiedInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: S1 ('MetaSel ('Just "_optInversionMaxDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "_optSafe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optDoubleCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optSyntacticEquality") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "_optWarningMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WarningMode) :*: S1 ('MetaSel ('Just "_optCompileMain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True))))))) :*: ((((S1 ('MetaSel ('Just "_optCaching") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: S1 ('MetaSel ('Just "_optCountClusters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optAutoInline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optPrintPatternSynonyms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)))) :*: ((S1 ('MetaSel ('Just "_optFastReduce") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: S1 ('MetaSel ('Just "_optCallByName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optConfluenceCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ConfluenceCheck)) :*: S1 ('MetaSel ('Just "_optCohesion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))))) :*: (((S1 ('MetaSel ('Just "_optFlatSplit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optImportSorts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True))) :*: (S1 ('MetaSel ('Just "_optLoadPrimitives") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)) :*: S1 ('MetaSel ('Just "_optAllowExec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)))) :*: ((S1 ('MetaSel ('Just "_optSaveMetas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optShowIdentitySubstitutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False))) :*: (S1 ('MetaSel ('Just "_optKeepCoveringClauses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: (S1 ('MetaSel ('Just "_optLargeIndices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'False)) :*: S1 ('MetaSel ('Just "_optForcedArgumentRecursion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithDefault 'True)))))))))) |
data OptionWarning Source #
Warnings when parsing options.
OptionRenamed | |
|
Instances
Pretty OptionWarning Source # | |
Defined in Agda.Interaction.Options.Base pretty :: OptionWarning -> Doc Source # prettyPrec :: Int -> OptionWarning -> Doc Source # prettyList :: [OptionWarning] -> Doc Source # | |
EmbPrj OptionWarning Source # | |
Defined in Agda.TypeChecking.Serialise.Instances.Errors icode :: OptionWarning -> S Int32 Source # icod_ :: OptionWarning -> S Int32 Source # value :: Int32 -> R OptionWarning Source # | |
Generic OptionWarning Source # | |
Defined in Agda.Interaction.Options.Base type Rep OptionWarning :: Type -> Type from :: OptionWarning -> Rep OptionWarning x to :: Rep OptionWarning x -> OptionWarning | |
Show OptionWarning Source # | |
Defined in Agda.Interaction.Options.Base showsPrec :: Int -> OptionWarning -> ShowS show :: OptionWarning -> String showList :: [OptionWarning] -> ShowS | |
NFData OptionWarning Source # | |
Defined in Agda.Interaction.Options.Base rnf :: OptionWarning -> () | |
type Rep OptionWarning Source # | |
Defined in Agda.Interaction.Options.Base type Rep OptionWarning = D1 ('MetaData "OptionWarning" "Agda.Interaction.Options.Base" "Agda-2.6.3.20230930-inplace" 'False) (C1 ('MetaCons "OptionRenamed" 'PrefixI 'True) (S1 ('MetaSel ('Just "oldOptionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "newOptionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) |
type Flag opts = opts -> OptM opts Source #
f :: Flag opts
is an action on the option record that results from
parsing an option. f opts
produces either an error message or an
updated options record
The options parse monad OptM
collects warnings that are not discarded
when a fatal error occurrs
type Verbosity = Maybe (Trie VerboseKeyItem VerboseLevel) Source #
Nothing
is used if no verbosity options have been given,
thus making it possible to handle the default case relatively
quickly. Note that Nothing
corresponds to a trie with
verbosity level 1 for the empty path.
type VerboseKey = String Source #
type VerboseLevel = Int Source #
data WarningMode Source #
A WarningMode
has two components: a set of warnings to be displayed
and a flag stating whether warnings should be turned into fatal errors.
WarningMode | |
|
Instances
EmbPrj WarningMode Source # | |
Defined in Agda.TypeChecking.Serialise.Instances.Errors icode :: WarningMode -> S Int32 Source # icod_ :: WarningMode -> S Int32 Source # value :: Int32 -> R WarningMode Source # | |
Generic WarningMode Source # | |
Defined in Agda.Interaction.Options.Warnings type Rep WarningMode :: Type -> Type from :: WarningMode -> Rep WarningMode x to :: Rep WarningMode x -> WarningMode | |
Show WarningMode Source # | |
Defined in Agda.Interaction.Options.Warnings showsPrec :: Int -> WarningMode -> ShowS show :: WarningMode -> String showList :: [WarningMode] -> ShowS | |
NFData WarningMode Source # | |
Defined in Agda.Interaction.Options.Warnings rnf :: WarningMode -> () | |
Eq WarningMode Source # | |
Defined in Agda.Interaction.Options.Warnings (==) :: WarningMode -> WarningMode -> Bool (/=) :: WarningMode -> WarningMode -> Bool | |
type Rep WarningMode Source # | |
Defined in Agda.Interaction.Options.Warnings type Rep WarningMode = D1 ('MetaData "WarningMode" "Agda.Interaction.Options.Warnings" "Agda-2.6.3.20230930-inplace" 'False) (C1 ('MetaCons "WarningMode" 'PrefixI 'True) (S1 ('MetaSel ('Just "_warningSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set WarningName)) :*: S1 ('MetaSel ('Just "_warn2Error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) |
data ConfluenceCheck Source #
Instances
data PrintAgdaVersion Source #
Options --version
and --numeric-version
(last wins).
PrintAgdaVersion | Print Agda version information and exit. |
PrintAgdaNumericVersion | Print Agda version number and exit. |
Instances
Generic PrintAgdaVersion Source # | |
Defined in Agda.Interaction.Options.Base type Rep PrintAgdaVersion :: Type -> Type from :: PrintAgdaVersion -> Rep PrintAgdaVersion x to :: Rep PrintAgdaVersion x -> PrintAgdaVersion | |
Show PrintAgdaVersion Source # | |
Defined in Agda.Interaction.Options.Base showsPrec :: Int -> PrintAgdaVersion -> ShowS show :: PrintAgdaVersion -> String showList :: [PrintAgdaVersion] -> ShowS | |
NFData PrintAgdaVersion Source # | |
Defined in Agda.Interaction.Options.Base rnf :: PrintAgdaVersion -> () | |
type Rep PrintAgdaVersion Source # | |
Defined in Agda.Interaction.Options.Base type Rep PrintAgdaVersion = D1 ('MetaData "PrintAgdaVersion" "Agda.Interaction.Options.Base" "Agda-2.6.3.20230930-inplace" 'False) (C1 ('MetaCons "PrintAgdaVersion" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PrintAgdaNumericVersion" 'PrefixI 'False) (U1 :: Type -> Type)) |
data UnicodeOrAscii Source #
We want to know whether we are allowed to insert unicode characters or not.
Instances
data DiagnosticsColours Source #
Instances
Generic DiagnosticsColours Source # | |
Defined in Agda.Interaction.Options.Base type Rep DiagnosticsColours :: Type -> Type from :: DiagnosticsColours -> Rep DiagnosticsColours x to :: Rep DiagnosticsColours x -> DiagnosticsColours | |
Show DiagnosticsColours Source # | |
Defined in Agda.Interaction.Options.Base showsPrec :: Int -> DiagnosticsColours -> ShowS show :: DiagnosticsColours -> String showList :: [DiagnosticsColours] -> ShowS | |
NFData DiagnosticsColours Source # | |
Defined in Agda.Interaction.Options.Base rnf :: DiagnosticsColours -> () | |
type Rep DiagnosticsColours Source # | |
Defined in Agda.Interaction.Options.Base type Rep DiagnosticsColours = D1 ('MetaData "DiagnosticsColours" "Agda.Interaction.Options.Base" "Agda-2.6.3.20230930-inplace" 'False) (C1 ('MetaCons "AlwaysColour" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NeverColour" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AutoColour" 'PrefixI 'False) (U1 :: Type -> Type))) |
checkOpts :: MonadError OptionError m => CommandLineOptions -> m CommandLineOptions Source #
Checks that the given options are consistent. Also makes adjustments (e.g. when one option implies another).
:: OptionsPragma | Pragma options. |
-> CommandLineOptions | Command-line options which should be updated. |
-> OptM PragmaOptions |
Parse options from an options pragma.
parsePluginOptions :: [String] -> [OptDescr (Flag opts)] -> Flag opts Source #
Parse options for a plugin.
parseVerboseKey :: VerboseKey -> [VerboseKeyItem] Source #
defaultCutOff :: CutOff Source #
The default termination depth.
standardOptions_ :: [OptDescr ()] Source #
Used for printing usage info. Does not include the dead options.
unsafePragmaOptions :: PragmaOptions -> [String] Source #
Check for unsafe pragmas. Gives a list of used unsafe flags.
recheckBecausePragmaOptionsChanged Source #
:: PragmaOptions | The options that were used to check the file. |
-> PragmaOptions | The options that are currently in effect. |
-> Bool |
This function returns True
if the file should be rechecked.
data InfectiveCoinfective Source #
Infective or coinfective?
Instances
data InfectiveCoinfectiveOption Source #
Descriptions of infective and coinfective options.
ICOption | |
|
infectiveCoinfectiveOptions :: [InfectiveCoinfectiveOption] Source #
Infective and coinfective options.
Note that --cubical
and --erased-cubical
are "jointly
infective": if one of them is used in one module, then one or the
other must be used in all modules that depend on this module.
mapFlag :: (String -> String) -> OptDescr a -> OptDescr a Source #
Map a function over the long options. Also removes the short options. Will be used to add the plugin name to the plugin options.
usage :: [OptDescr ()] -> String -> Help -> String Source #
The usage info message. The argument is the program name (probably agda).
inputFlag :: FilePath -> Flag CommandLineOptions Source #
deadStandardOptions :: [OptDescr (Flag CommandLineOptions)] Source #
Command line options of previous versions of Agda. Should not be listed in the usage info, put parsed by GetOpt for good error messaging.
:: [String] | command line argument words |
-> [OptDescr (Flag opts)] | options handlers |
-> (String -> Flag opts) | handler of non-options (only one is allowed) |
-> Flag opts | combined opts data structure transformer |
Simple interface for System.Console.GetOpt Could be moved to Agda.Utils.Options (does not exist yet)
Lenses for PragmaOptions
lensOptProp :: Lens' PragmaOptions _ Source #
lensOptEta :: Lens' PragmaOptions _ Source #
lensOptSafe :: Lens' PragmaOptions _ Source #
Boolean accessors to PragmaOptions
collapsing default
optShowImplicit :: PragmaOptions -> Bool Source #
optShowGeneralized :: PragmaOptions -> Bool Source #
optShowIrrelevant :: PragmaOptions -> Bool Source #
optProp :: PragmaOptions -> Bool Source #
optLevelUniverse :: PragmaOptions -> Bool Source #
optTwoLevel :: PragmaOptions -> Bool Source #
optAllowUnsolved :: PragmaOptions -> Bool Source #
optAllowIncompleteMatch :: PragmaOptions -> Bool Source #
optPositivityCheck :: PragmaOptions -> Bool Source #
optTerminationCheck :: PragmaOptions -> Bool Source #
optUniverseCheck :: PragmaOptions -> Bool Source #
optOmegaInOmega :: PragmaOptions -> Bool Source #
optCumulativity :: PragmaOptions -> Bool Source #
optSizedTypes :: PragmaOptions -> Bool Source #
optGuardedness :: PragmaOptions -> Bool Source #
optInjectiveTypeConstructors :: PragmaOptions -> Bool Source #
optUniversePolymorphism :: PragmaOptions -> Bool Source #
optIrrelevantProjections :: PragmaOptions -> Bool Source #
optExperimentalIrrelevance :: PragmaOptions -> Bool Source #
optWithoutK :: PragmaOptions -> Bool Source #
optCubicalCompatible :: PragmaOptions -> Bool Source #
optCopatterns :: PragmaOptions -> Bool Source #
optPatternMatching :: PragmaOptions -> Bool Source #
optHiddenArgumentPuns :: PragmaOptions -> Bool Source #
optEta :: PragmaOptions -> Bool Source #
optForcing :: PragmaOptions -> Bool Source #
optProjectionLike :: PragmaOptions -> Bool Source #
optErasure :: PragmaOptions -> Bool Source #
optErasure
is implied by optEraseRecordParameters
.
optErasure
is also implied by an explicitly given `--erased-matches`.
optErasedMatches :: PragmaOptions -> Bool Source #
optEraseRecordParameters :: PragmaOptions -> Bool Source #
optRewriting :: PragmaOptions -> Bool Source #
optGuarded :: PragmaOptions -> Bool Source #
optFirstOrder :: PragmaOptions -> Bool Source #
optPostfixProjections :: PragmaOptions -> Bool Source #
optKeepPatternVariables :: PragmaOptions -> Bool Source #
optInferAbsurdClauses :: PragmaOptions -> Bool Source #
optOverlappingInstances :: PragmaOptions -> Bool Source #
optQualifiedInstances :: PragmaOptions -> Bool Source #
optSafe :: PragmaOptions -> Bool Source #
optDoubleCheck :: PragmaOptions -> Bool Source #
optCompileNoMain :: PragmaOptions -> Bool Source #
optCaching :: PragmaOptions -> Bool Source #
optCountClusters :: PragmaOptions -> Bool Source #
optAutoInline :: PragmaOptions -> Bool Source #
optPrintPatternSynonyms :: PragmaOptions -> Bool Source #
optFastReduce :: PragmaOptions -> Bool Source #
optCallByName :: PragmaOptions -> Bool Source #
optCohesion :: PragmaOptions -> Bool Source #
optCohesion
is implied by optFlatSplit
.
optFlatSplit :: PragmaOptions -> Bool Source #
optImportSorts :: PragmaOptions -> Bool Source #
optImportSorts
requires optLoadPrimitives
.
optLoadPrimitives :: PragmaOptions -> Bool Source #
optAllowExec :: PragmaOptions -> Bool Source #
optSaveMetas :: PragmaOptions -> Bool Source #
optShowIdentitySubstitutions :: PragmaOptions -> Bool Source #
optKeepCoveringClauses :: PragmaOptions -> Bool Source #
optLargeIndices :: PragmaOptions -> Bool Source #
optForcedArgumentRecursion :: PragmaOptions -> Bool Source #
Non-boolean accessors to PragmaOptions
optConfluenceCheck :: PragmaOptions -> _ Source #
optCubical :: PragmaOptions -> _ Source #
optInstanceSearchDepth :: PragmaOptions -> _ Source #
optInversionMaxDepth :: PragmaOptions -> _ Source #
optProfiling :: PragmaOptions -> _ Source #
optSyntacticEquality :: PragmaOptions -> _ Source #
optTerminationDepth :: PragmaOptions -> _ Source #
optVerbose :: PragmaOptions -> _ Source #
optWarningMode :: PragmaOptions -> _ Source #
class (Functor m, Applicative m, Monad m) => HasOptions m where Source #
Nothing
pragmaOptions :: m PragmaOptions Source #
Returns the pragma options which are currently in effect.
default pragmaOptions :: (HasOptions n, MonadTrans t, m ~ t n) => m PragmaOptions Source #
commandLineOptions :: m CommandLineOptions Source #
Returns the command line options which are currently in effect.
default commandLineOptions :: (HasOptions n, MonadTrans t, m ~ t n) => m CommandLineOptions Source #