From 594e8aa28d146c755551a61c3f68ba7ad430329d Mon Sep 17 00:00:00 2001
From: Lars Kappert
All gleam code is in some module or other, whose name comes from the
- name of the file it's in. For example,
+ name of the file it is in. For example,
gleam/io
diff --git a/src/content/chapter0_basics/lesson03_unqualified_imports/en.html b/src/content/chapter0_basics/lesson03_unqualified_imports/en.html
index 3f15f58..35ea10f 100644
--- a/src/content/chapter0_basics/lesson03_unqualified_imports/en.html
+++ b/src/content/chapter0_basics/lesson03_unqualified_imports/en.html
@@ -7,11 +7,11 @@
.
- it's also possible to specify a list of functions to import from a module in + It is also possible to specify a list of functions to import from a module in an unqualified fashion, meaning the function name can be used without the module qualifier (the name and the dot) before it.
- Generally it's best to use qualified imports, as this makes it clear where the - function is defined, making the code easier to read. + Generally it is best to use qualified imports, as this makes it clear where + the function is defined, making the code easier to read.
diff --git a/src/content/chapter0_basics/lesson14_type_imports/en.html b/src/content/chapter0_basics/lesson14_type_imports/en.html index 243bd61..0f362e5 100644 --- a/src/content/chapter0_basics/lesson14_type_imports/en.html +++ b/src/content/chapter0_basics/lesson14_type_imports/en.html @@ -17,6 +17,6 @@ the import statement with the wordtype
before the type name.
- It's more common in Gleam code for types to be imported in an unqualified way + It is more common in Gleam code for types to be imported in an unqualified way than it is for functions to be imported in an unqualified way.
diff --git a/src/content/chapter0_basics/lesson15_type_aliases/en.html b/src/content/chapter0_basics/lesson15_type_aliases/en.html index 9d5cef9..9fddd70 100644 --- a/src/content/chapter0_basics/lesson15_type_aliases/en.html +++ b/src/content/chapter0_basics/lesson15_type_aliases/en.html @@ -1,6 +1,6 @@A type alias can be used to refer to a type by a different name. Giving a type - an alias doesn't make a new type, it's still the same type. + an alias doesn't make a new type, it is still the same type.
A type's name always starts with a capital letter, contrasting to variables diff --git a/src/content/chapter0_basics/lesson17_lists/en.html b/src/content/chapter0_basics/lesson17_lists/en.html index 5db7c11..84f88f3 100644 --- a/src/content/chapter0_basics/lesson17_lists/en.html +++ b/src/content/chapter0_basics/lesson17_lists/en.html @@ -15,7 +15,7 @@
Counting the length of a list or getting elements from other positions in the - list is expensive and rarely done. It's rare to write algorithms that index + list is expensive and rarely done. It is rare to write algorithms that index into sequences in Gleam, but when they are written a list is not the right choice of data structure.
diff --git a/src/content/chapter1_functions/lesson00_functions/en.html b/src/content/chapter1_functions/lesson00_functions/en.html index 0ebf281..32d5bed 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's considered good practice to use type annotations for + and return values. It is 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/lesson07_pipelines/en.html b/src/content/chapter1_functions/lesson07_pipelines/en.html index 783ade9..291f36e 100644 --- a/src/content/chapter1_functions/lesson07_pipelines/en.html +++ b/src/content/chapter1_functions/lesson07_pipelines/en.html @@ -1,5 +1,5 @@- It's common to want to call a series of functions, passing the result of one + It is common to want to call a series of functions, passing the result of one to the next. With the regular function call syntax this can be a little difficult to read as you have to read the code from the inside out.
diff --git a/src/content/chapter1_functions/lesson08_labelled_arguments/en.html b/src/content/chapter1_functions/lesson08_labelled_arguments/en.html index 869a041..b1d771c 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's up to the programmer to + Labels are optional when calling a function, it is 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 b20307e..c27bac6 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's documenting.
+ placed immediately before the type or function it is documenting.
////
is used for documenting modules, and should be placed
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 7f7c735..8a3a7d3 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's more common to use functions in the
+ While it is 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 67a8faa..1784e99 100644
--- a/src/content/chapter2_flow_control/lesson08_multiple_subjects/en.html
+++ b/src/content/chapter2_flow_control/lesson08_multiple_subjects/en.html
@@ -1,5 +1,5 @@
- Sometimes it's useful to pattern match on multiple values at the same time in + Sometimes it is useful to pattern match on multiple values at the same time in one case expression.
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 0e36b2d..25421f4 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's not possible to have nested alternative patterns, so the
+ Currently it is not possible to have nested alternative patterns, so the
pattern [1 | 2 | 3]
is not valid.
Tuples are most commonly used to return 2 or 3 values from a function. Often - it's clearer to use a custom type where a tuple could be used, We + it is clearer to use a custom type where a tuple could be used, We will cover custom types next.
diff --git a/src/content/chapter3_data_types/lesson02_records/en.html b/src/content/chapter3_data_types/lesson02_records/en.html index 0c49f67..ea46e4d 100644 --- a/src/content/chapter3_data_types/lesson02_records/en.html +++ b/src/content/chapter3_data_types/lesson02_records/en.html @@ -8,6 +8,6 @@ be used for variants that define them.- It's common to have a custom type with one variant that holds data, this is + It is common to have a custom type with one variant that holds data, this is the Gleam equivalent of a struct or object in other languages.
diff --git a/src/content/chapter3_data_types/lesson06_nil/en.html b/src/content/chapter3_data_types/lesson06_nil/en.html index fbb1700..9749180 100644 --- a/src/content/chapter3_data_types/lesson06_nil/en.html +++ b/src/content/chapter3_data_types/lesson06_nil/en.html @@ -1,12 +1,12 @@
- Nil
is Gleam's unit type. It's a value that is returned by
+ Nil
is Gleam's unit type. It is a value that is returned by
functions that have nothing else to return, as all functions must return
something.
Nil
is not a valid value of any other types. Therefore, values in
- Gleam are not nullable. If the type of a value is Nil
then it's
- the value Nil
. If it's some other type then the value is not
+ Gleam are not nullable. If the type of a value is Nil
then it is
+ the value Nil
. If it is some other type then the value is not
Nil
.
diff --git a/src/content/chapter4_standard_library/lesson01_list_module/en.html b/src/content/chapter4_standard_library/lesson01_list_module/en.html
index 9c6b953..da020a7 100644
--- a/src/content/chapter4_standard_library/lesson01_list_module/en.html
+++ b/src/content/chapter4_standard_library/lesson01_list_module/en.html
@@ -37,6 +37,6 @@
True
.
- It's worth getting familiar with all the functions in this module when writing - Gleam code, you'll be using them a lot! + It is worth getting familiar with all the functions in this module when + writing Gleam code, you'll be using them a lot!
diff --git a/src/content/chapter5_advanced_features/lesson04_panic/en.html b/src/content/chapter5_advanced_features/lesson04_panic/en.html index 07b1d48..c54c217 100644 --- a/src/content/chapter5_advanced_features/lesson04_panic/en.html +++ b/src/content/chapter5_advanced_features/lesson04_panic/en.html @@ -1,6 +1,6 @@
The panic
keyword is similar to the todo
keyword,
- but it's used to crash the program when the program has reached a point that
+ but it is used to crash the program when the program has reached a point that
should never be reached.
diff --git a/src/content/chapter5_advanced_features/lesson05_let_assert/en.html b/src/content/chapter5_advanced_features/lesson05_let_assert/en.html index 0a6d10f..29fd06c 100644 --- a/src/content/chapter5_advanced_features/lesson05_let_assert/en.html +++ b/src/content/chapter5_advanced_features/lesson05_let_assert/en.html @@ -1,11 +1,11 @@
let assert
is the final way to intentionally crash your Gleam
- program. It's similar to the panic
keyword in that it crashes
+ program. It is similar to the panic
keyword in that it crashes
when the program has reached a point that should never be reached.
- let assert
is similar to let
in that it's a way to
- assign values to variables, but it's different in that the pattern can be
+ let assert
is similar to let
in that it is a way to
+ assign values to variables, but it is different in that the pattern can be
partial. The pattern does not need to match every possible value of the
type being assigned.
Libraries that make use of concurrent IO will typically have to decide whether diff --git a/src/content/chapter5_advanced_features/lesson08_external_gleam_fallbacks/en.html b/src/content/chapter5_advanced_features/lesson08_external_gleam_fallbacks/en.html index 243c7ea..2497fa1 100644 --- a/src/content/chapter5_advanced_features/lesson08_external_gleam_fallbacks/en.html +++ b/src/content/chapter5_advanced_features/lesson08_external_gleam_fallbacks/en.html @@ -1,5 +1,5 @@
- It's possible for a function to have both a Gleam implementation and an + It is possible for a function to have both a Gleam implementation and an external implementation. If there exists an external implementation for the currently compiled-for target then it will be used, otherwise the Gleam implementation is used. diff --git a/src/tour.gleam b/src/tour.gleam index 0bfd9cf..0453543 100644 --- a/src/tour.gleam +++ b/src/tour.gleam @@ -71,7 +71,7 @@ const home_html = "
If at any point you get stuck or have a question do not hesitate to ask in the Gleam Discord server. We're here - to help, and if you find something confusing then it's likely others will too, + to help, and if you find something confusing then it is likely others will too, and we want to know about it so we can improve the tour.
-- cgit v1.2.3