@Kha Note that I had to write the weird pattern ``` match_syntax stx with | `(notation:$prec $items* => $rhs) => expandNotationAux stx prec items rhs | `(notation $noprec* $items* => $rhs) => expandNotationAux stx none items rhs | _ => Macro.throwUnsupported ``` with the weird `$noprec*` to match the case where the optional precedence is not provided. I realized this is not a bug, but I guess most users will be puzzled by this behavior. If we had a kind for `notationItem`, I would be able to write ``` `(notation $items:notationItems* => $rhs) ``` |
||
|---|---|---|
| .. | ||
| bench | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lean | ||
| playground | ||
| plugin | ||
| .gitignore | ||
| common.sh | ||