From cc689c5f4f049d9847e2d251461acbd9ff21b3c4 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Thu, 18 Jan 2024 19:34:48 +0000 Subject: Typos --- src/content/chapter1_functions/lesson06_generic_functions/text.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content/chapter1_functions/lesson06_generic_functions/text.html') diff --git a/src/content/chapter1_functions/lesson06_generic_functions/text.html b/src/content/chapter1_functions/lesson06_generic_functions/text.html index 1369c93..fcd9bec 100644 --- a/src/content/chapter1_functions/lesson06_generic_functions/text.html +++ b/src/content/chapter1_functions/lesson06_generic_functions/text.html @@ -9,13 +9,13 @@ value are compatible.

- To enable this Gleam support generics, also known as parametric - polymorphism. + To enable this Gleam support generics, also known as + parametric polymorphism.

This works by instead of specifying a concrete type, a type variable is used which stands in for whatever specific type is being used when the function is - called. These type variable are written with a lowercase name. + called. These type variables are written with a lowercase name.

Type variables are not like an any type, they get replaced with a -- cgit v1.2.3