Zulip Chat Archive

Stream: new members

Topic: confused about doubled names


Bhavik Mehta (Jun 30 2020 at 19:11):

import category_theory.category

namespace category_theory

universes v u

variables (A : Type u) [category.{v} A]

structure foo :=
(C₀ C₁ : A)
(f : C₀  C₁)

structure bar extends foo.{v} A :=
(assoc : begin dedup, end)

end category_theory

Bhavik Mehta (Jun 30 2020 at 19:12):

if your cursor is in the empty begin end block, you'll see two copies of A, and I have no idea why


Last updated: Dec 20 2023 at 11:08 UTC