Zulip Chat Archive

Stream: new members

Topic: Parametrized tactic unit


Martin Dvořák (Mar 22 2022 at 12:48):

Is there any tutorial about defining a custom tactic unit that is parametrized by data?

I didn't find anything about it in https://leanprover-community.github.io/extras/tactic_writing.html but I suppose there must be a way to do it.

Mario Carneiro (Mar 22 2022 at 12:57):

what do you mean? Lots of tactics take and/or return arguments, like src#tactic.find_assumption


Last updated: Dec 20 2023 at 11:08 UTC