Documentation

Std.Tactic.RunCmd

Defines commands to compile and execute a command / term / tactic on the spot:

The run_cmd doSeq command executes code in CommandElabM Unit. This is almost the same as #eval show CommandElabM Unit from do doSeq, except that it doesn't print an empty diagnostic.

Equations
Instances For

    The run_elab doSeq command executes code in TermElabM Unit. This is almost the same as #eval show TermElabM Unit from do doSeq, except that it doesn't print an empty diagnostic.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The run_meta doSeq command executes code in MetaM Unit. This is almost the same as #eval show MetaM Unit from do doSeq, except that it doesn't print an empty diagnostic.

      (This is effectively a synonym for run_elab.)

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The run_tac doSeq tactic executes code in TacticM Unit.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          • The by_elab doSeq expression runs the doSeq as a TermElabM Expr to synthesize the expression.
          • by_elab fun expectedType? => do doSeq receives the expected type (an Option Expr) as well.
          Equations
          Instances For

            Elaborator for by_elab.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For