Documentation

Batteries.Linter.TypeClass

Lints for instances with arguments that cannot be filled in, like

instance {α β : Type} [Group α] : Mul α where ...
Equations
  • One or more equations did not get rendered due to their size.
Instances For

    A linter for checking if any declaration whose type is not a class is marked as an instance.

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

      Deprecated aliases for the former Batteries.Tactic.Lint namespace.

      @[deprecated Batteries.Linter.impossibleInstance (since := "2026-10-10")]

      Alias of Batteries.Linter.impossibleInstance.


      Lints for instances with arguments that cannot be filled in, like

      instance {α β : Type} [Group α] : Mul α where ...
      
      Equations
      Instances For
        @[deprecated Batteries.Linter.nonClassInstance (since := "2026-10-10")]

        Alias of Batteries.Linter.nonClassInstance.


        A linter for checking if any declaration whose type is not a class is marked as an instance.

        Equations
        Instances For