Zulip Chat Archive

Stream: mathlib4

Topic: Arrow style


Ruben Van de Velde (Aug 26 2025 at 20:56):

Do we have a style guideline / linter that says to use rather than <-?

Michael Rothgang (Aug 26 2025 at 20:56):

No linter, I believe --- not sure about the style guide. The former is relative easy once the latter exists :-)

Bhavik Mehta (Aug 27 2025 at 16:16):

I think we should add a preference for over <- to the mathlib style guide

Michael Rothgang (Aug 27 2025 at 17:31):

Right now, mathlib doesn't have any occurrences of <- for this purpose.

Michael Rothgang (Aug 27 2025 at 17:33):

Do we want to lint the same for ->? (We have a few hundred of these, but search-replace should deal with those quickly.)


Last updated: Dec 20 2025 at 21:32 UTC