From 83f8d4b9464518387ec2dd11765221490781530e Mon Sep 17 00:00:00 2001 From: yqw Date: Sun, 26 May 2024 10:47:40 -0400 Subject: [PATCH] Update lecture_en.md --- course11/lecture_en.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course11/lecture_en.md b/course11/lecture_en.md index d7a3181..7d1ff46 100644 --- a/course11/lecture_en.md +++ b/course11/lecture_en.md @@ -329,11 +329,11 @@ fn Expression::number(i: Int) -> Expression { Number(i) } // Parse test { inspect((parse_string_tagless_final("1 + 1 * (307 + 7) + 5 - 3 - 2") : - Option[(Expression, String, List[Token])]), ~content= + Option[(Expression, String, List[Token])]), content= #|Some((Minus(Minus(Plus(Plus(Number(1), Multiply(Number(1), Plus(Number(307), Number(7)))), Number(5)), Number(3)), Number(2)), "", List::[])) )? // Get the syntax tree inspect((parse_string_tagless_final("1 + 1 * (307 + 7) + 5 - 3 - 2") : - Option[(BoxedInt, String, List[Token])]), ~content= + Option[(BoxedInt, String, List[Token])]), content= #|Some((BoxedInt(315), "", List::[])) )? // Get the calculation result }