Zulip Chat Archive

Stream: std4

Topic: repeat1'


Scott Morrison (Apr 16 2023 at 10:48):

I made the PR https://github.com/leanprover/std4/pull/115, requesting a variant of repeat' that fails if it makes no progress.

Shreyas Srinivas (Apr 16 2023 at 17:02):

Suggestion: A more descriptive name perhaps? For e.g. repeat'_with_fail

Scott Morrison (Apr 17 2023 at 09:57):

I'm not sure with_fail really explains it. repeat_at_least_once would be good. I was simply copying the naming scheme that I think had existed in mathlib3.

Mario Carneiro (Apr 17 2023 at 11:37):

I'd rather have short tactic names and long documentation than the reverse


Last updated: Dec 20 2023 at 11:08 UTC