Documentation

Lean.Language.Lean.Types

def Lean.Language.Lean.pushOpt {α : Type u_1} (a? : Option α) (as : Array α) :

Pushes a? into the array if it is some.

Equations
Instances For

    The hierarchy of Lean snapshot types

    Snapshot after command elaborator has returned. Also contains diagnostics from the elaborator's main task. Asynchronous elaboration tasks may not yet be finished.

    Instances For

      State before a command is elaborated. This is separate from CommandParsedSnapshot so that all snapshots belonging to a command are grouped below a task with the command's syntax tree.

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

          State after a command has been parsed.

          Instances For

            State after successful importing.

            Instances For

              State after the module header has been processed including imports.

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

                State after successfully parsing the module header.

                Instances For

                  State after the module header has been parsed.

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

                    Shortcut accessor to the final header state, if successful.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      @[reducible, inline]

                      Initial snapshot of the Lean language processor: a "header parsed" snapshot.

                      Equations
                      Instances For