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/lesson03_panic/text.html6
-rw-r--r--src/content/chapter5_advanced_features/lesson04_externals/text.html2
-rw-r--r--src/content/chapter5_advanced_features/lesson05_multi_target_externals/text.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/content/chapter5_advanced_features/lesson03_panic/text.html b/src/content/chapter5_advanced_features/lesson03_panic/text.html
index 843a65b..c54c217 100644
--- a/src/content/chapter5_advanced_features/lesson03_panic/text.html
+++ b/src/content/chapter5_advanced_features/lesson03_panic/text.html
@@ -1,7 +1,7 @@
<p>
- The <code>panic</code> keyword is similar to <code>todo</code> keyword, but it
- is used to crash the program when the program has reached a point that should
- never be reached.
+ The <code>panic</code> keyword is similar to the <code>todo</code> keyword,
+ but it is used to crash the program when the program has reached a point that
+ should never be reached.
</p>
<p>
This keyword should almost never be used! It may be useful in initial
diff --git a/src/content/chapter5_advanced_features/lesson04_externals/text.html b/src/content/chapter5_advanced_features/lesson04_externals/text.html
index 81202d6..8815fa7 100644
--- a/src/content/chapter5_advanced_features/lesson04_externals/text.html
+++ b/src/content/chapter5_advanced_features/lesson04_externals/text.html
@@ -5,7 +5,7 @@
import and use this non-Gleam code.
</p>
<p>
- An external type is a one that has no constructors. Gleam doesn't know what
+ An external type is one that has no constructors. Gleam doesn't know what
shape it has or how to create one, it only knows that it exists.
</p>
<p>
diff --git a/src/content/chapter5_advanced_features/lesson05_multi_target_externals/text.html b/src/content/chapter5_advanced_features/lesson05_multi_target_externals/text.html
index dc10a19..6e02d36 100644
--- a/src/content/chapter5_advanced_features/lesson05_multi_target_externals/text.html
+++ b/src/content/chapter5_advanced_features/lesson05_multi_target_externals/text.html
@@ -7,7 +7,7 @@
target then the compiler will return an error.
</p>
<p>
- You should try to implement functons for all targets, but this isn't always
+ You should try to implement functions for all targets, but this isn't always
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.