Documentation

Lean.Elab.Deriving.Basic

Result for mkInst?

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

    A DerivingHandler is called on the fully qualified names of all types it is running for as well as the syntax of a with argument, if present.

    For example, deriving instance Foo with fooArgs for Bar, Baz invokes fooHandler #[`Bar, `Baz] `(fooArgs).

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

    Like registerBuiltinDerivingHandlerWithArgs but ignoring any with argument.

    Equations
    Equations
    • One or more equations did not get rendered due to their size.
    def Lean.Elab.applyDerivingHandlers (className : Lean.Name) (typeNames : Array Lean.Name) (args? : Option (Lean.TSyntax (Lean.Name.mkStr4 "Lean" "Parser" "Term" "structInst"))) :
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Lean.Elab.getOptDerivingClasses {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] [inst : Lean.MonadResolveName m] [inst : Lean.MonadError m] [inst : Lean.Elab.MonadInfoTree m] (optDeriving : Lean.Syntax) :
      Equations
      • One or more equations did not get rendered due to their size.