| 1 |
From Ltac2 Require Import Ltac2. |
| 2 |
Notation "'silly' i1 .. i_ => x" |
| 3 |
:= (let v := match (fun i1 => .. (fun i_ => x) ..) return _ with |
| 4 |
| y => y |
| 5 |
end in |
| 6 |
let _ := ltac2:(let _ := x in ()) in |
| 7 |
v) |
| 8 |
(at level 10, i1 binder, i_ binder, only parsing). |
| 9 |
|
| 10 |
Fail Check silly a b c => (a, b, c). |