lean4-htt/tests/lean/run/macroParams.lean
2021-08-12 07:48:42 -07:00

7 lines
147 B
Text

macro x:ident noWs "(" ys:term,* ")" : term => `($x $ys*)
#check id(1)
macro "foo" &"only" : tactic => `(trivial)
example : True := by foo only