diff options
-rw-r--r-- | src/content/chapter1_functions/lesson06_generic_functions/code.gleam | 3 |
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)) } |