From a524fd4be85e369fc78de1db513abc2db95a9f7b Mon Sep 17 00:00:00 2001 From: David Thrane Christiansen Date: Fri, 26 Jan 2024 11:20:22 +0100 Subject: [PATCH] doc: update link target (#3218) This fixes a link target found by the link checker CI for lean-lang.org --- doc/metaprogramming-arith.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/metaprogramming-arith.md b/doc/metaprogramming-arith.md index b845ace8085e..0308e07b4f36 100644 --- a/doc/metaprogramming-arith.md +++ b/doc/metaprogramming-arith.md @@ -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