lean4-htt/tests/lean/run/manyAritySyntax.lean

3 lines
142 B
Text

syntax "enum" ident " where " ("|" ident)* : command
macro_rules
| `(enum $id where $[| $ids ]*) =>`(inductive $id where $[| $ids:ident ]*)