aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter5_advanced_features
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/chapter5_advanced_features')
-rw-r--r--src/content/chapter5_advanced_features/lesson04_panic/en.html2
-rw-r--r--src/content/chapter5_advanced_features/lesson05_let_assert/en.html6
-rw-r--r--src/content/chapter5_advanced_features/lesson07_multi_target_externals/en.html8
-rw-r--r--src/content/chapter5_advanced_features/lesson08_external_gleam_fallbacks/en.html2
4 files changed, 9 insertions, 9 deletions
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 @@
<p>
The <code>panic</code> keyword is similar to the <code>todo</code> 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.
</p>
<p>
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 @@
<p>
<code>let assert</code> is the final way to intentionally crash your Gleam
- program. It's similar to the <code>panic</code> keyword in that it crashes
+ program. It is similar to the <code>panic</code> keyword in that it crashes
when the program has reached a point that should never be reached.
</p>
<p>
- <code>let assert</code> is similar to <code>let</code> in that it's a way to
- assign values to variables, but it's different in that the pattern can be
+ <code>let assert</code> is similar to <code>let</code> in that it is a way to
+ assign values to variables, but it is different in that the pattern can be
<i>partial</i>. The pattern does not need to match every possible value of the
type being assigned.
</p>
diff --git a/src/content/chapter5_advanced_features/lesson07_multi_target_externals/en.html b/src/content/chapter5_advanced_features/lesson07_multi_target_externals/en.html
index c755ac7..6e02d36 100644
--- a/src/content/chapter5_advanced_features/lesson07_multi_target_externals/en.html
+++ b/src/content/chapter5_advanced_features/lesson07_multi_target_externals/en.html
@@ -11,10 +11,10 @@
possible due to incompatibilities in how IO and concurreny works in Erlang and
JavaScript. With Erlang concurrent IO is handled transparently by the runtime,
while in JavaScript concurrent IO requires the use of promises or callbacks.
- If your code uses the Erlang style it's typically not possible to implement in
- JavaScript, while if callbacks are used then it won't be compatible with most
- Gleam and Erlang code as it forces any code that calls the function to also
- use callbacks.
+ If your code uses the Erlang style it is typically not possible to implement
+ in JavaScript, while if callbacks are used then it won't be compatible with
+ most Gleam and Erlang code as it forces any code that calls the function to
+ also use callbacks.
</p>
<p>
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 @@
<p>
- 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.