Documentation

Lean.ScopedEnvExtension

Instances For
    Instances For
      structure Lean.ScopedEnvExtension.StateStack (α : Type) (β : Type) (σ : Type) :
      Instances For
        structure Lean.ScopedEnvExtension.Descr (α : Type) (β : Type) (σ : Type) :
        • name : Lake.Name
        • mkInitial : IO σ
        • ofOLeanEntry : σαLean.ImportM β
        • toOLeanEntry : βα
        • addEntry : σβσ
        • finalizeImport : σσ
        Instances For
          instance Lean.instInhabitedScopedEnvExtension :
          {a : Type} → [inst : Inhabited a] → {a_1 a_2 : Type} → Inhabited (Lean.ScopedEnvExtension a a_1 a_2)
          unsafe def Lean.registerScopedEnvExtensionUnsafe {α : Type} {β : Type} {σ : Type} (descr : Lean.ScopedEnvExtension.Descr α β σ) :
          Instances For
            @[implemented_by Lean.registerScopedEnvExtensionUnsafe]
            opaque Lean.registerScopedEnvExtension {α : Type} {β : Type} {σ : Type} (descr : Lean.ScopedEnvExtension.Descr α β σ) :
            Instances For
              def Lean.ScopedEnvExtension.addEntry {α : Type} {β : Type} {σ : Type} (ext : Lean.ScopedEnvExtension α β σ) (env : Lean.Environment) (b : β) :
              Instances For
                def Lean.ScopedEnvExtension.addScopedEntry {α : Type} {β : Type} {σ : Type} (ext : Lean.ScopedEnvExtension α β σ) (env : Lean.Environment) (namespaceName : Lake.Name) (b : β) :
                Instances For
                  Instances For
                    def Lean.ScopedEnvExtension.getState {σ : Type} {α : Type} {β : Type} [Inhabited σ] (ext : Lean.ScopedEnvExtension α β σ) (env : Lean.Environment) :
                    σ
                    Instances For
                      def Lean.ScopedEnvExtension.activateScoped {α : Type} {β : Type} {σ : Type} (ext : Lean.ScopedEnvExtension α β σ) (env : Lean.Environment) (namespaceName : Lake.Name) :
                      Instances For
                        def Lean.ScopedEnvExtension.modifyState {α : Type} {β : Type} {σ : Type} (ext : Lean.ScopedEnvExtension α β σ) (env : Lean.Environment) (f : σσ) :
                        Instances For
                          Instances For
                            Instances For
                              def Lean.activateScoped {m : TypeType} [Monad m] [Lean.MonadEnv m] [MonadLiftT (ST IO.RealWorld) m] (namespaceName : Lake.Name) :
                              Instances For
                                @[inline, reducible]
                                Instances For
                                  • name : Lake.Name
                                  • addEntry : σασ
                                  • initial : σ
                                  • finalizeImport : σσ
                                  Instances For