Zulip Chat Archive

Stream: metaprogramming / tactics

Topic: compare API


Yury G. Kudryashov (Dec 05 2022 at 00:39):

Hi, I did some API review/refactor in #17809. As a part of the process, I reordered the lemmas to golf the proofs. I want to list all API changes in the commit message but I'm not sure that I've caught all of them. How do I print something similar to #print prefix _ but for all definitions/lemmas in the current file instead of a prefix?

Yury G. Kudryashov (Dec 05 2022 at 00:39):

The goal is to compare the output in master and in my branch using diff.

Alex J. Best (Dec 05 2022 at 00:48):

Does #7003 help?

Yury G. Kudryashov (Dec 05 2022 at 01:35):

Let me test it.

Yury G. Kudryashov (Dec 05 2022 at 01:43):

Thanks! It works (though I needed to join some lines, then sort them to compare versions).


Last updated: Dec 20 2023 at 11:08 UTC