diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content/chapter1_functions/lesson06_generic_functions/en.html | 9 |
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 |