aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter1_functions
diff options
context:
space:
mode:
authorLars Kappert <lars@webpro.nl>2024-04-26 15:19:15 +0200
committerLouis Pilfold <louis@lpil.uk>2024-05-03 11:18:07 +0100
commit80a340e4649bff9aff4466fbd61a076a04624e4c (patch)
tree6af32df2541ca9913a8f46c5e24694aac8aec19d /src/content/chapter1_functions
parentb8011ddb3597351883236c74c0e1739b50a3e25e (diff)
downloadtour-80a340e4649bff9aff4466fbd61a076a04624e4c.tar.gz
tour-80a340e4649bff9aff4466fbd61a076a04624e4c.zip
Increase consistency and readability a tiny bit
Diffstat (limited to 'src/content/chapter1_functions')
-rw-r--r--src/content/chapter1_functions/lesson00_functions/en.html2
-rw-r--r--src/content/chapter1_functions/lesson06_generic_functions/en.html2
-rw-r--r--src/content/chapter1_functions/lesson08_labelled_arguments/en.html2
-rw-r--r--src/content/chapter1_functions/lesson09_documentation_comments/en.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/content/chapter1_functions/lesson00_functions/en.html b/src/content/chapter1_functions/lesson00_functions/en.html
index 32d5bed..0ebf281 100644
--- a/src/content/chapter1_functions/lesson00_functions/en.html
+++ b/src/content/chapter1_functions/lesson00_functions/en.html
@@ -9,6 +9,6 @@
</p>
<p>
Like with assignments, type annotations are optional for function arguments
- and return values. It is considered good practice to use type annotations for
+ and return values. It's considered good practice to use type annotations for
functions, for clarity and to encourage intentional and thoughtful design.
</p>
diff --git a/src/content/chapter1_functions/lesson06_generic_functions/en.html b/src/content/chapter1_functions/lesson06_generic_functions/en.html
index e32c860..d5abb55 100644
--- a/src/content/chapter1_functions/lesson06_generic_functions/en.html
+++ b/src/content/chapter1_functions/lesson06_generic_functions/en.html
@@ -10,7 +10,7 @@
compatible.
</p>
<p>
- To enable this Gleam support <em>generics</em>, also known as
+ To enable this, Gleam supports <em>generics</em>, also known as
<em>parametric polymorphism</em>.
</p>
<p>
diff --git a/src/content/chapter1_functions/lesson08_labelled_arguments/en.html b/src/content/chapter1_functions/lesson08_labelled_arguments/en.html
index b1d771c..869a041 100644
--- a/src/content/chapter1_functions/lesson08_labelled_arguments/en.html
+++ b/src/content/chapter1_functions/lesson08_labelled_arguments/en.html
@@ -16,7 +16,7 @@
a dictionary or perform any other runtime work.
</p>
<p>
- Labels are optional when calling a function, it is up to the programmer to
+ Labels are optional when calling a function, it's up to the programmer to
decide what is clearest in their code.
</p>
diff --git a/src/content/chapter1_functions/lesson09_documentation_comments/en.html b/src/content/chapter1_functions/lesson09_documentation_comments/en.html
index c27bac6..b20307e 100644
--- a/src/content/chapter1_functions/lesson09_documentation_comments/en.html
+++ b/src/content/chapter1_functions/lesson09_documentation_comments/en.html
@@ -8,7 +8,7 @@
</p>
<p>
<code>///</code> is used for documenting types and functions, and should be
- placed immediately before the type or function it is documenting.
+ placed immediately before the type or function it's documenting.
</p>
<p>
<code>////</code> is used for documenting modules, and should be placed