From 80a340e4649bff9aff4466fbd61a076a04624e4c Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Fri, 26 Apr 2024 15:19:15 +0200 Subject: Increase consistency and readability a tiny bit --- src/content/chapter2_flow_control/lesson07_list_recursion/en.html | 2 +- src/content/chapter2_flow_control/lesson08_multiple_subjects/en.html | 4 ++-- .../chapter2_flow_control/lesson09_alternative_patterns/en.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/content/chapter2_flow_control') diff --git a/src/content/chapter2_flow_control/lesson07_list_recursion/en.html b/src/content/chapter2_flow_control/lesson07_list_recursion/en.html index 9f158d8..7f7c735 100644 --- a/src/content/chapter2_flow_control/lesson07_list_recursion/en.html +++ b/src/content/chapter2_flow_control/lesson07_list_recursion/en.html @@ -1,5 +1,5 @@

- While it is more common to use functions in the + While it's more common to use functions in the gleam/list diff --git a/src/content/chapter2_flow_control/lesson08_multiple_subjects/en.html b/src/content/chapter2_flow_control/lesson08_multiple_subjects/en.html index 23e3722..67a8faa 100644 --- a/src/content/chapter2_flow_control/lesson08_multiple_subjects/en.html +++ b/src/content/chapter2_flow_control/lesson08_multiple_subjects/en.html @@ -1,9 +1,9 @@

- Sometimes it is useful to pattern match on multiple values at the same time in + Sometimes it's useful to pattern match on multiple values at the same time in one case expression.

- To do this you can give multiple subjects and multiple patterns, separated by + To do this, you can give multiple subjects and multiple patterns, separated by commas.

diff --git a/src/content/chapter2_flow_control/lesson09_alternative_patterns/en.html b/src/content/chapter2_flow_control/lesson09_alternative_patterns/en.html index 25421f4..0e36b2d 100644 --- a/src/content/chapter2_flow_control/lesson09_alternative_patterns/en.html +++ b/src/content/chapter2_flow_control/lesson09_alternative_patterns/en.html @@ -7,6 +7,6 @@ clause must also define a variable with the same name and same type.

- Currently it is not possible to have nested alternative patterns, so the + Currently it's not possible to have nested alternative patterns, so the pattern [1 | 2 | 3] is not valid.

-- cgit v1.2.3