Zulip Chat Archive

Stream: general

Topic: Interactive versions of tactics


Seul Baek (Apr 19 2019 at 00:05):

Is it considered good practice to put interactive versions of tactics in tactic/interactive.lean instead of in their respective files?

I didn't do this for omega, but this seems to be the way most other interactive tactics are organized.

Mario Carneiro (Apr 19 2019 at 00:19):

See ring for example. You should open a little interactive namespace (Simon added a user command recently to make this easier, although it may not yet have landed) at the end of your main file and define the command there. Don't put it in tactic.interactive unless it's a lightweight tactic

Simon Hudon (Apr 19 2019 at 02:58):

I think what you're referring to is in #878, which still needs some work


Last updated: Dec 20 2023 at 11:08 UTC