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

          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

                State after successfully parsing the module header.

                Instances For

                  State after the module header has been parsed.

                  Instances For

                    Shortcut accessor to the final header state, if successful.

                    Equations
                      Instances For
                        @[reducible, inline]

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

                        Equations
                          Instances For