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