data VerbosityLvl : TypeNoneLvl : VerbosityLvlSuppress all message output to `stdout`.
ErrorLvl : VerbosityLvlKeep only errors.
InfoLvl : VerbosityLvlKeep everything.
data OutputMode : TypeIDEMode : Integer -> File -> File -> OutputModeREPL : VerbosityLvl -> OutputModeGiven that we can divide elaboration messages into
two categories: informational message and error message,
`VerbosityLvl` applies a filter on the output,
suppressing writes to `stdout` if the level condition isn't met.
record REPLOpts : TypeMkREPLOpts : Bool -> REPLEval -> Bool -> Maybe String -> Maybe LiterateStyle -> String -> String -> Maybe Int -> OutputMode -> String -> Maybe (Name, Core (Search RawImp)) -> Maybe (Int, Core (Search (FC, List ImpClause))) -> Maybe Name -> List (String, Codegen) -> Maybe Nat -> Bool -> Bool -> REPLOpts.color : REPLOpts -> Bool.consoleWidth : REPLOpts -> Maybe Nat.currentElabSource : REPLOpts -> String.editor : REPLOpts -> String.errorLine : REPLOpts -> Maybe Int.evalMode : REPLOpts -> REPLEval.evalResultName : REPLOpts -> Maybe Name.evalTiming : REPLOpts -> Bool.extraCodegens : REPLOpts -> List (String, Codegen).gdResult : REPLOpts -> Maybe (Int, Core (Search (FC, List ImpClause))).idemode : REPLOpts -> OutputMode.literateStyle : REPLOpts -> Maybe LiterateStyle.mainfile : REPLOpts -> Maybe String.psResult : REPLOpts -> Maybe (Name, Core (Search RawImp)).showTypes : REPLOpts -> Bool.source : REPLOpts -> String.synHighlightOn : REPLOpts -> Bool.showTypes : REPLOpts -> BoolshowTypes : REPLOpts -> Bool.evalMode : REPLOpts -> REPLEvalevalMode : REPLOpts -> REPLEval.evalTiming : REPLOpts -> BoolevalTiming : REPLOpts -> Bool.mainfile : REPLOpts -> Maybe Stringmainfile : REPLOpts -> Maybe String.literateStyle : REPLOpts -> Maybe LiterateStyleliterateStyle : REPLOpts -> Maybe LiterateStyle.source : REPLOpts -> Stringsource : REPLOpts -> String.editor : REPLOpts -> Stringeditor : REPLOpts -> String.errorLine : REPLOpts -> Maybe InterrorLine : REPLOpts -> Maybe Int.idemode : REPLOpts -> OutputModeidemode : REPLOpts -> OutputMode.currentElabSource : REPLOpts -> StringcurrentElabSource : REPLOpts -> String.psResult : REPLOpts -> Maybe (Name, Core (Search RawImp))psResult : REPLOpts -> Maybe (Name, Core (Search RawImp)).gdResult : REPLOpts -> Maybe (Int, Core (Search (FC, List ImpClause)))gdResult : REPLOpts -> Maybe (Int, Core (Search (FC, List ImpClause))).evalResultName : REPLOpts -> Maybe NameevalResultName : REPLOpts -> Maybe Name.extraCodegens : REPLOpts -> List (String, Codegen)extraCodegens : REPLOpts -> List (String, Codegen).consoleWidth : REPLOpts -> Maybe NatconsoleWidth : REPLOpts -> Maybe Nat.color : REPLOpts -> Boolcolor : REPLOpts -> Bool.synHighlightOn : REPLOpts -> BoolsynHighlightOn : REPLOpts -> BooldefaultOpts : Maybe String -> OutputMode -> List (String, Codegen) -> REPLOptsdata ROpts : TypewithROpts : Ref ROpts REPLOpts => Core a -> Core asetOutput : Ref ROpts REPLOpts => OutputMode -> Core ()getOutput : Ref ROpts REPLOpts => Core OutputModesetMainFile : Ref ROpts REPLOpts => Maybe String -> Core ()resetProofState : Ref ROpts REPLOpts => Core ()setSource : Ref ROpts REPLOpts => String -> Core ()getSource : Ref ROpts REPLOpts => Core StringgetSourceLine : Ref ROpts REPLOpts => Int -> Core (Maybe String)getLitStyle : Ref ROpts REPLOpts => Core (Maybe LiterateStyle)setCurrentElabSource : Ref ROpts REPLOpts => String -> Core ()getCurrentElabSource : Ref ROpts REPLOpts => Core StringgetCodegen : Ref ROpts REPLOpts => String -> Core (Maybe Codegen)getConsoleWidth : Ref ROpts REPLOpts => Core (Maybe Nat)setConsoleWidth : Ref ROpts REPLOpts => Maybe Nat -> Core ()getColor : Ref ROpts REPLOpts => Core BoolsetColor : Ref ROpts REPLOpts => Bool -> Core ()getSynHighlightOn : Ref ROpts REPLOpts => Core BoolsetSynHighlightOn : Ref ROpts REPLOpts => Bool -> Core ()getEvalTiming : Ref ROpts REPLOpts => Core BoolsetEvalTiming : Ref ROpts REPLOpts => Bool -> Core ()