From 95181e11cfcee225b68b8d97b06bba3e43c1281b Mon Sep 17 00:00:00 2001
From: Louis Pilfold
- 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