From 594e8aa28d146c755551a61c3f68ba7ad430329d Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Mon, 29 Apr 2024 08:13:17 +0200 Subject: =?UTF-8?q?it's=20=E2=86=92=20it=20is?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content/chapter0_basics/lesson02_modules/en.html | 2 +- src/content/chapter0_basics/lesson03_unqualified_imports/en.html | 6 +++--- src/content/chapter0_basics/lesson14_type_imports/en.html | 2 +- src/content/chapter0_basics/lesson15_type_aliases/en.html | 2 +- src/content/chapter0_basics/lesson17_lists/en.html | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/content/chapter0_basics') diff --git a/src/content/chapter0_basics/lesson02_modules/en.html b/src/content/chapter0_basics/lesson02_modules/en.html index 7f34d0b..50862ec 100644 --- a/src/content/chapter0_basics/lesson02_modules/en.html +++ b/src/content/chapter0_basics/lesson02_modules/en.html @@ -12,7 +12,7 @@

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

-- cgit v1.2.3