aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
authorhuman154 <46430360+human154@users.noreply.github.com>2024-02-22 08:37:49 -0500
committerLouis Pilfold <louis@lpil.uk>2024-03-05 17:24:41 +0000
commit81cd2703e27d02231f70fd023d52a75fabcef53f (patch)
tree0eb1f9dfd517883d336a297c90932e4e5e91bdf1 /src/content
parent1e58c8c77a26cc2dd7aa8dbc8771e4276d5fe95c (diff)
downloadtour-81cd2703e27d02231f70fd023d52a75fabcef53f.tar.gz
tour-81cd2703e27d02231f70fd023d52a75fabcef53f.zip
Simplify my awkwrd comment about type variables
Diffstat (limited to 'src/content')
-rw-r--r--src/content/chapter1_functions/lesson06_generic_functions/code.gleam3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/content/chapter1_functions/lesson06_generic_functions/code.gleam b/src/content/chapter1_functions/lesson06_generic_functions/code.gleam
index 2233c4c..bdfcb4e 100644
--- a/src/content/chapter1_functions/lesson06_generic_functions/code.gleam
+++ b/src/content/chapter1_functions/lesson06_generic_functions/code.gleam
@@ -14,8 +14,7 @@ pub fn main() {
io.debug(twice("Hello", exclaim))
}
-// The function signature (below) states that the type of
-// `value` must be the same in all 4 places:
+// The name value refers to the same type multiple times
fn twice(argument: value, function: fn(value) -> value) -> value {
function(function(argument))
}