Skip to content

Commit

Permalink
doc: update link target (leanprover#3218)
Browse files Browse the repository at this point in the history
This fixes a link target found by the link checker CI for lean-lang.org
  • Loading branch information
david-christiansen authored Jan 26, 2024
1 parent de23226 commit a524fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/metaprogramming-arith.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ While parsing `a * (b + c)`, `(b + c)` is assigned a precedence `60` by the addi
the right argument to have precedence **at least** 71. Thus, this parse is invalid. In contrast, `(a * b) + c` assigns
a precedence of `70` to `(a * b)`. This is compatible with addition which expects the left argument to have precedence
**at least `60` ** (`70` is greater than `60`). Thus, the string `a * b + c` is parsed as `(a * b) + c`.
For more details, please look at the [Lean manual on syntax extensions](./syntax.md#notations-and-precedence).
For more details, please look at the [Lean manual on syntax extensions](./notation.md#notations-and-precedence).

To go from strings into `Arith`, we define a macro to
translate the syntax category `arith` into an `Arith` inductive value that
Expand Down

0 comments on commit a524fd4

Please sign in to comment.