diff options
author | Louis Pilfold <louis@lpil.uk> | 2023-12-07 12:46:39 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-12-07 12:46:39 +0000 |
commit | 52a4e31a356e212ba537a241a3722848d9f0c93c (patch) | |
tree | 337a9cbe416c9f6cd7ae44e265b016d8271074ac /lessons/src | |
parent | f0a9cb6a63b244e8a26a9d422e4bf3df02cc3d8c (diff) | |
download | tour-52a4e31a356e212ba537a241a3722848d9f0c93c.tar.gz tour-52a4e31a356e212ba537a241a3722848d9f0c93c.zip |
Fix \u concat bug
Diffstat (limited to 'lessons/src')
-rw-r--r-- | lessons/src/lesson011_type_annotations/text.html | 4 | ||||
-rw-r--r-- | lessons/src/lesson012_blocks/text.html | 2 |
2 files changed, 5 insertions, 1 deletions
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 @@ <p> Typically Gleam code will not have type annotations for assignments. </p> +<p> + Try changing a type annotation to something incorrect to see the compile + error. +</p> 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. </p> <p> - <code>*</code> binds more tightly than <code>+</code>so the expression + <code>*</code> binds more tightly than <code>+</code> so the expression <code>1 + 2 * 3</code> evaluates to 7. If the <code>1 + 2</code> should be evaluated first to make the expression evaluate to 9 then the expression can be wrapped in a block: <code>{ 1 + 2 } * 3</code>. This is similar to grouping |