doc: ! modifier in grind parameters (#10474)
This PR adds a doc string for the `!` parameter modifier in `grind`.
This commit is contained in:
parent
9b842b7554
commit
ec7add0b48
1 changed files with 4 additions and 1 deletions
|
|
@ -182,7 +182,10 @@ namespace Lean.Parser.Tactic
|
|||
|
||||
syntax grindErase := "-" ident
|
||||
syntax grindLemma := ppGroup((Attr.grindMod ppSpace)? ident)
|
||||
-- `!` for enabling minimal indexable subexpression restriction
|
||||
/--
|
||||
The `!` modifier instructs `grind` to consider only minimal indexable subexpressions
|
||||
when selecting patterns.
|
||||
-/
|
||||
syntax grindLemmaMin := ppGroup("!" (Attr.grindMod ppSpace)? ident)
|
||||
syntax grindParam := grindErase <|> grindLemma <|> grindLemmaMin
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue