Documentation

Qq.Macro

The q( ) and Q( ) macros #

This file provides the main feature of Qq; the q( ) and Q( ) macros, which are available with open scoped Qq.

Instances For
    Instances For
      @[reducible, inline]
      abbrev Qq.Impl.UnquoteM (α : Type) :
      Equations
        Instances For
          @[reducible, inline]
          abbrev Qq.Impl.QuoteM (α : Type) :
          Equations
            Instances For
              def Qq.Impl.withUnquotedLCtx {m : TypeType u_1} {α : Type} [MonadControlT Lean.MetaM m] [Monad m] [MonadLiftT QuoteM m] (k : m α) :
              m α
              Equations
                Instances For
                  Equations
                    Instances For
                      Equations
                        Instances For
                          Equations
                            Instances For
                              Equations
                                Instances For
                                  Equations
                                    Instances For
                                      Equations
                                        Instances For
                                          @[inline]
                                          Equations
                                            Instances For
                                              Equations
                                                Instances For
                                                  Equations
                                                    Instances For
                                                      Equations
                                                        Instances For
                                                          Equations
                                                            Instances For
                                                              Equations
                                                                Instances For
                                                                  Equations
                                                                    Instances For
                                                                      @[specialize #[]]
                                                                      def Qq.withProcessPostponed {m : TypeType u_1} {α : Type} [Monad m] [MonadFinally m] [MonadLiftT Lean.MetaM m] (k : m α) :
                                                                      m α
                                                                      Equations
                                                                        Instances For

                                                                          ql(u) quotes the universe level u.

                                                                          Equations
                                                                            Instances For

                                                                              a =QL b says that the levels a and b are definitionally equal.

                                                                              Equations
                                                                                Instances For
                                                                                  Equations
                                                                                    Instances For

                                                                                      q(t) quotes the Lean expression t into a Q(α) (if t : α)

                                                                                      Equations
                                                                                        Instances For

                                                                                          Q(α) is the type of Lean expressions having type α.

                                                                                          Equations
                                                                                            Instances For

                                                                                              a =Q b says that a and b are definitionally equal.

                                                                                              Equations
                                                                                                Instances For