aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
authorSimon Johansson <simon@forintens.se>2024-01-30 11:45:11 +0100
committerGitHub <noreply@github.com>2024-01-30 10:45:11 +0000
commit59a221b6f5684a4b19ff9ea092b905058d182332 (patch)
treea617ba2f95b40ba4cff49cdc92c8c93393ef396a /src/content
parent8544c4099ca8747486410f33cb1cb0c06ba2f684 (diff)
downloadtour-59a221b6f5684a4b19ff9ea092b905058d182332.tar.gz
tour-59a221b6f5684a4b19ff9ea092b905058d182332.zip
Fix simple typos in lessons (#19)
Diffstat (limited to 'src/content')
-rw-r--r--src/content/chapter1_functions/lesson10_deprecations/text.html2
-rw-r--r--src/content/chapter2_flow_control/lesson08_multiple_subjects/text.html4
-rw-r--r--src/content/chapter4_standard_library/lesson01_list_module/text.html2
-rw-r--r--src/content/chapter4_standard_library/lesson04_option_module/text.html2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/content/chapter1_functions/lesson10_deprecations/text.html b/src/content/chapter1_functions/lesson10_deprecations/text.html
index 5ea776f..8fe260f 100644
--- a/src/content/chapter1_functions/lesson10_deprecations/text.html
+++ b/src/content/chapter1_functions/lesson10_deprecations/text.html
@@ -8,7 +8,7 @@
letting the programmer know they ought to update their code.
</p>
<p>
- The deprecation atribute takes a message and this will be displayed to the
+ The deprecation attribute takes a message and this will be displayed to the
user in the warning. In the message explain to the user the new approach or
replacement function, or direct them on documentation on how to upgrade.
</p>
diff --git a/src/content/chapter2_flow_control/lesson08_multiple_subjects/text.html b/src/content/chapter2_flow_control/lesson08_multiple_subjects/text.html
index 26a7ea3..23e3722 100644
--- a/src/content/chapter2_flow_control/lesson08_multiple_subjects/text.html
+++ b/src/content/chapter2_flow_control/lesson08_multiple_subjects/text.html
@@ -1,9 +1,9 @@
<p>
Sometimes it is useful to pattern match on multiple values at the same time in
- one case experession.
+ one case expression.
</p>
<p>
- To do this you can give multiple subjects and multiple patterns, separated
+ To do this you can give multiple subjects and multiple patterns, separated by
commas.
</p>
<p>
diff --git a/src/content/chapter4_standard_library/lesson01_list_module/text.html b/src/content/chapter4_standard_library/lesson01_list_module/text.html
index a0bfb5b..7451b10 100644
--- a/src/content/chapter4_standard_library/lesson01_list_module/text.html
+++ b/src/content/chapter4_standard_library/lesson01_list_module/text.html
@@ -5,7 +5,7 @@
>
standard library module contains functions for working with lists. A Gleam
program will likely make heavy use of this module, the various functions
- serving as differnt types of loops over lists.
+ serving as different types of loops over lists.
</p>
<p>
diff --git a/src/content/chapter4_standard_library/lesson04_option_module/text.html b/src/content/chapter4_standard_library/lesson04_option_module/text.html
index 64c1d59..0c66b25 100644
--- a/src/content/chapter4_standard_library/lesson04_option_module/text.html
+++ b/src/content/chapter4_standard_library/lesson04_option_module/text.html
@@ -11,6 +11,6 @@
The option type is very similar to the result type, but it does not have an
error value. Some languages have functions return an option when there is no
extra error detail to give, but Gleam always uses result. This makes all
- failible functions consistent and removes any boilerplate that would be
+ fallible functions consistent and removes any boilerplate that would be
required when mixing functions that use each type.
</p>