Zulip Chat Archive
Stream: general
Topic: Opposite category
Yaël Dillies (Feb 15 2022 at 20:20):
Is it on purpose that docs#category_theory.category.opposite is not called category_theory.opposite.category
or opposite.category
. I just had quite a hard time finding it.
Reid Barton (Feb 15 2022 at 20:22):
It's an instance so the name should not matter.
Yaël Dillies (Feb 15 2022 at 20:23):
Sure, but we still have a naming convention for instances.
Eric Wieser (Feb 15 2022 at 20:23):
Maybe it works for dot notation that way?
Reid Barton (Feb 15 2022 at 20:24):
It does seem a bit non-uniform--what would be the automatically assigned name?
Yaël Dillies (Feb 15 2022 at 20:24):
I doubt it. The category
argument is an instance.
Yaël Dillies (Feb 15 2022 at 20:24):
It would be opposite.category_theory.category
Reid Barton (Feb 15 2022 at 20:25):
I guess category_theory.opposite.category
seems best
Yaël Dillies (Feb 15 2022 at 20:26):
I would also be happy with opposite.category
. I mostly care about the object bit coming before the instance bit, as is done everywhere else.
Reid Barton (Feb 15 2022 at 20:30):
Apparently I chose the current name 3+ years ago so I hereby give you blessing to change it!
Last updated: Dec 20 2023 at 11:08 UTC