From 52a4e31a356e212ba537a241a3722848d9f0c93c Mon Sep 17 00:00:00 2001
From: Louis Pilfold
Date: Thu, 7 Dec 2023 12:46:39 +0000
Subject: Fix \u concat bug
---
lessons/src/lesson011_type_annotations/text.html | 4 ++++
lessons/src/lesson012_blocks/text.html | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
(limited to 'lessons/src')
diff --git a/lessons/src/lesson011_type_annotations/text.html b/lessons/src/lesson011_type_annotations/text.html
index 583d7ce..8738a15 100644
--- a/lessons/src/lesson011_type_annotations/text.html
+++ b/lessons/src/lesson011_type_annotations/text.html
@@ -9,3 +9,7 @@
Typically Gleam code will not have type annotations for assignments.
+
+ Try changing a type annotation to something incorrect to see the compile
+ error.
+
diff --git a/lessons/src/lesson012_blocks/text.html b/lessons/src/lesson012_blocks/text.html
index f943e11..bc82e39 100644
--- a/lessons/src/lesson012_blocks/text.html
+++ b/lessons/src/lesson012_blocks/text.html
@@ -15,7 +15,7 @@
expressions.
- *
binds more tightly than +
so the expression
+ *
binds more tightly than +
so the expression
1 + 2 * 3
evaluates to 7. If the 1 + 2
should be
evaluated first to make the expression evaluate to 9 then the expression can be
wrapped in a block: { 1 + 2 } * 3
. This is similar to grouping
--
cgit v1.2.3