Agda-stdlib: Question on naming in Data.Fin.Base

Created on 4 Jun 2019  Â·  3Comments  Â·  Source: agda/agda-stdlib

consider two functions in
https://github.com/agda/agda-stdlib/blob/master/src/Data/Fin/Base.agda#L65

fromℕ≤ : ∀ {m n} → m ℕ.< n → Fin n
fromℕ≤″ : ∀ m {n} → m ℕ.<″ n → Fin n

why are the names of these functions using ≤ instead of <? I know < is defined in terms of ≤ but still this is puzzling.

deprecation naming question

All 3 comments

No idea, they predate me by quite a long way. I agree it's a little odd. Not sure if it's worth changing...

yeah, I am on the side to change them.

There's been a big push on consistency of naming, now's not the time to give up!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andreasabel picture andreasabel  Â·  6Comments

gallais picture gallais  Â·  7Comments

oisdk picture oisdk  Â·  7Comments

MirceaS picture MirceaS  Â·  3Comments

MatthewDaggitt picture MatthewDaggitt  Â·  4Comments