aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter1_functions/lesson06_generic_functions/en.html
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-03-07 11:21:07 +0000
committerLouis Pilfold <louis@lpil.uk>2024-03-07 11:21:07 +0000
commit07f2c6a009ae79da72b31f375ff01451dc88d543 (patch)
tree15376e1eb26b887c64fdd7245ef448f9f3a6a6e4 /src/content/chapter1_functions/lesson06_generic_functions/en.html
parentac85cbf6ed82fbad2d0f65ed058a817113247631 (diff)
downloadtour-07f2c6a009ae79da72b31f375ff01451dc88d543.tar.gz
tour-07f2c6a009ae79da72b31f375ff01451dc88d543.zip
Improve clarity
Diffstat (limited to 'src/content/chapter1_functions/lesson06_generic_functions/en.html')
-rw-r--r--src/content/chapter1_functions/lesson06_generic_functions/en.html8
1 files changed, 4 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 fcd9bec..7589017 100644
--- a/src/content/chapter1_functions/lesson06_generic_functions/en.html
+++ b/src/content/chapter1_functions/lesson06_generic_functions/en.html
@@ -3,10 +3,10 @@
arguments.
</p>
<p>
- The <code>twice</code> function for example 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 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.
</p>
<p>
To enable this Gleam support <em>generics</em>, also known as