aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter1_functions/lesson06_generic_functions/en.html
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-03-11 11:03:42 +0000
committerLouis Pilfold <louis@lpil.uk>2024-03-11 11:03:42 +0000
commit95181e11cfcee225b68b8d97b06bba3e43c1281b (patch)
tree859db1317e1e8f01d316365307b50ca1f801e54b /src/content/chapter1_functions/lesson06_generic_functions/en.html
parentb2d98b5579fa1a887fb9098be45422652ddfdee7 (diff)
downloadtour-95181e11cfcee225b68b8d97b06bba3e43c1281b.tar.gz
tour-95181e11cfcee225b68b8d97b06bba3e43c1281b.zip
Correct typo
Diffstat (limited to 'src/content/chapter1_functions/lesson06_generic_functions/en.html')
-rw-r--r--src/content/chapter1_functions/lesson06_generic_functions/en.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/content/chapter1_functions/lesson06_generic_functions/en.html b/src/content/chapter1_functions/lesson06_generic_functions/en.html
index 7589017..7bbc340 100644
--- a/src/content/chapter1_functions/lesson06_generic_functions/en.html
+++ b/src/content/chapter1_functions/lesson06_generic_functions/en.html
@@ -3,10 +3,11 @@
arguments.
</p>
<p>
- The <code>twice</code> function in the previous lesson only higher order
- function only worked with functions that would take and return ints. This is
- overly restrictive, it should be possible to use this function with any type,
- so long as the function and the initial value are compatible.
+ The <code>twice</code> function in the previous lesson on
+ <i>higher order functions</i> only worked with functions that would take and
+ return ints. This is overly restrictive, it should be possible to use this
+ function with any type, so long as the function and the initial value are
+ compatible.
</p>
<p>
To enable this Gleam support <em>generics</em>, also known as