Documentation

Lean.Util.ShareCommon

@[reducible, inline]
abbrev Lean.ShareCommon.ShareCommonT (m : Type u_1 → Type u_2) (α : Type u_1) :
Type (max u_1 u_2)
Equations
    Instances For
      @[reducible, inline]
      abbrev Lean.ShareCommon.PShareCommonT (m : Type u_1 → Type u_2) (α : Type u_1) :
      Type (max u_1 u_2)
      Equations
        Instances For
          @[reducible, inline]
          abbrev Lean.ShareCommon.ShareCommonM (α : Type u_1) :
          Type u_1
          Equations
            Instances For
              @[reducible, inline]
              Equations
                Instances For
                  @[specialize #[]]
                  def Lean.ShareCommon.ShareCommonT.withShareCommon {m : Type u_1 → Type u_2} {α : Type u_1} [Monad m] (a : α) :
                  Equations
                    Instances For
                      @[specialize #[]]
                      def Lean.ShareCommon.PShareCommonT.withShareCommon {m : Type u_1 → Type u_2} {α : Type u_1} [Monad m] (a : α) :
                      Equations
                        Instances For
                          @[inline]
                          def Lean.ShareCommon.ShareCommonT.run {m : Type u_1 → Type u_2} {α : Type u_1} [Monad m] :
                          ShareCommonT m αm α
                          Equations
                            Instances For
                              @[inline]
                              def Lean.ShareCommon.PShareCommonT.run {m : Type u_1 → Type u_2} {α : Type u_1} [Monad m] :
                              PShareCommonT m αm α
                              Equations
                                Instances For
                                  @[inline]
                                  Equations
                                    Instances For
                                      @[inline]
                                      Equations
                                        Instances For
                                          def Lean.ShareCommon.shareCommon {α : Type u_1} (a : α) :
                                          α
                                          Equations
                                            Instances For