From 95181e11cfcee225b68b8d97b06bba3e43c1281b Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Mon, 11 Mar 2024 11:03:42 +0000 Subject: Correct typo --- .../chapter1_functions/lesson06_generic_functions/en.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') 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.

- The twice 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 twice function in the previous lesson on + higher order functions 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.

To enable this Gleam support generics, also known as -- cgit v1.2.3