diff options
-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 |