Zulip Chat Archive

Stream: mathlib4

Topic: docs4#Int.ofNat_le


Yaël Dillies (Jan 06 2023 at 13:41):

Shouldn't Int.ofNat_le be Int.coe_nat_le? We have docs#Int.coe_nat_nonneg.

Sky Wilshaw (Jan 06 2023 at 14:43):

I don't think we'd settled on a convention the last time I asked about this, but that was a few weeks ago.

Sky Wilshaw (Jan 06 2023 at 14:46):

I think I personally prefer the ofNat spelling, because from my perspective coercions are just used to hide function application noise, but if we need to write out the function name anyway, we might as well write its actual name.


Last updated: Dec 20 2023 at 11:08 UTC