Zulip Chat Archive

Stream: lean4

Topic: Banning anonymous constructors for a certain type


Eric Wieser (Sep 07 2023 at 07:49):

Would it possible to make it a linter error to use anonymous constructor notation for certain types? In particular, I'm thinking of things like docs#RingHom where to correctly nest the angle brackets, you need to know precisely what the extends keyword is doing

Yaël Dillies (Sep 07 2023 at 07:53):

Sorry, I'm probably guilty of those :grinning_face_with_smiling_eyes:

Eric Wieser (Sep 07 2023 at 13:28):

#7015 has some examples of the type of code this linter would remove.


Last updated: Dec 20 2023 at 11:08 UTC