Zulip Chat Archive

Stream: lean4

Topic: lean4#4814, new variable command


Michael Rothgang (Jul 23 2024 at 22:39):

I'm excited to see lean4#4814, and was wondering the following: currently, the docstring for variables states

currently, you should avoid changing how variables are bound and declare new variables at the same time

Will this still be relevant after this PR? (I was contemplating to write a linter for this --- if this will become obsolete soon, I'll choose a different project. @Sebastian Ullrich

Kim Morrison (Jul 23 2024 at 23:08):

(I haven't talked to Sebastian about this, but my inclination is that we should keep this advice, as it is at least slightly confusing when both things are happening at once.)

Sebastian Ullrich (Jul 24 2024 at 09:12):

lean#2789 is independent of my changes, yes

Michael Rothgang (Jul 24 2024 at 13:00):

Thanks for clarifying. Then I will probably write such a linter in the next few days.


Last updated: May 02 2025 at 03:31 UTC