lean4-htt/src/Lean
Leonardo de Moura 7fce8b5d1f fix: notation command
@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)
```
2020-06-09 14:11:34 -07:00
..
Compiler fix: usesLeanAPI 2020-05-26 15:05:01 -07:00
Data fix: use exact instead of prefix token match when inheriting precedence 2020-05-28 14:14:52 +02:00
Elab fix: notation command 2020-06-09 14:11:34 -07:00
EqnCompiler
Meta
Parser fix: notation command 2020-06-09 14:11:34 -07:00
PrettyPrinter fix: parenthesizer 2020-06-09 11:26:00 +02:00
Util feat: simplify LEAN_PATH 2020-05-27 19:46:16 +02:00
Attributes.lean
AuxRecursor.lean
Class.lean
Compiler.lean
Declaration.lean
Delaborator.lean
Elab.lean
Environment.lean
EqnCompiler.lean
Eval.lean
Expr.lean
HeadIndex.lean
Hygiene.lean
KeyedDeclsAttribute.lean
Level.lean
Linter.lean
LocalContext.lean
Message.lean
Meta.lean
MetavarContext.lean
Modifiers.lean
Parser.lean
PrettyPrinter.lean
ProjFns.lean
ReducibilityAttrs.lean
Runtime.lean
Scopes.lean
Structure.lean
Syntax.lean
ToExpr.lean
Util.lean