Documentation

Lean.Elab.DocString.Builtin.Postponed

Enables the deferred checks recorded while elaborating Verso docstrings, such as forward references.

A name that a deferred check will confirm exists.

  • name : Name

    The name to check for.

Instances For

    A syntax kind name that a deferred check will confirm exists.

    • name : Name

      The kind's name.

    Instances For
      @[reducible, inline]

      A handler that carries out a deferred docstring check, given the check's data. Each handler is expected to be applied to a single type name, rather than be able to handle any Dynamic.

      Equations
      Instances For

        Maps the name of a deferred check's data (the value of Dynamic.typeName) to the declaration of its DeferredCheckHandler. The data type is the dispatch key, so at most one handler is registered per type.

        Builtin deferred check handlers, for bootstrapping. Maps a check's data type name to its handler, which is available before the defining module is imported.

        Adds a builtin deferred check handler.

        Should be run during initialization.

        Equations
        Instances For

          Runs the deferred docstring checks owned by modules satisfying inPackage.

          Returns the checks that failed together with the module they belong to and the error that each produced. #[] indicates success.

          Only checks that satisfy shouldCheck are run.

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