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/chapter1_functions/lesson00_functions/en.html | 2 +- src/content/chapter1_functions/lesson06_generic_functions/en.html | 2 +- src/content/chapter1_functions/lesson08_labelled_arguments/en.html | 2 +- src/content/chapter1_functions/lesson09_documentation_comments/en.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/content/chapter1_functions') 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 @@

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.

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.

- To enable this Gleam support generics, also known as + To enable this, Gleam supports generics, also known as parametric polymorphism.

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.

- 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.

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 @@

/// 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.

//// is used for documenting modules, and should be placed -- cgit v1.2.3