Lean4
/-- `finset% t` elaborates `t` as a `Finset`.
If `t` is a `Set`, then inserts `Set.toFinset`.
Does not make use of the expected type; useful for big operators over finsets.
```
#check finset% Finset.range 2 -- Finset Nat
#check finset% (Set.univ : Set Bool) -- Finset Bool
```
-/
@[term_parser 1000]
public meta def finsetStx : Lean.ParserDescr✝ :=
ParserDescr.node✝ `finsetStx 1022
(ParserDescr.binary✝ `andthen (ParserDescr.symbol✝ "finset% ") (ParserDescr.cat✝ `term 0))