Zulip Chat Archive
Stream: mathlib4
Topic: Should `Prod.swap_prod_mk` be renamed to `Prod.swap_prodMk`?
Jihoon Hyun (Apr 19 2025 at 15:33):
I see many other prodMk
s, like docs#IsMin.prodMk , docs#CauchySeq.prodMk , and many more, so I suspect that docs#Prod.swap_prod_mk probably has the deprecated name.
Yaël Dillies (Apr 19 2025 at 15:38):
Yes, that's correct. #naming says that Prod.mk
in a namespace other than Prod
should be mk
, unless ambiguous (which it is), in which case it becomes prodMk
Jihoon Hyun (Apr 19 2025 at 15:51):
I just realized that docs#Prod.swap_prod_mk is defined in Init. Does the naming convention still hold?
Yaël Dillies (Apr 19 2025 at 15:59):
Not really, but that means mathlib probably wants an alias with the correct name
Last updated: May 02 2025 at 03:31 UTC