Zulip Chat Archive

Stream: mathlib4

Topic: naming convention: bundled versions of functions


Yury G. Kudryashov (Oct 19 2024 at 05:09):

We have different ways to name bundled versions of unbundled functions. E.g., docs#RCLike.reCLM docs#PiLp.projₗ docs#DFinsupp.filterLinearMap docs#zpowGroupHom docs#Pi.monoidHom docs#Pi.evalMulHom docs#LinearMap.pi docs#LinearMap.snd

Yury G. Kudryashov (Oct 19 2024 at 05:09):

Also, AFAIR sometimes prod is used for fun x => (f x, g x) and sometimes for Prod.map f g.

Yury G. Kudryashov (Oct 19 2024 at 05:10):

Should we choose a naming scheme here and apply it everywhere?

Sébastien Gouëzel (Oct 19 2024 at 07:31):

Yes, I think it would be very good to have a coherent naming scheme for all of these.


Last updated: May 02 2025 at 03:31 UTC