From 07f2c6a009ae79da72b31f375ff01451dc88d543 Mon Sep 17 00:00:00 2001
From: Louis Pilfold
- The twice
function for example 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 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.
To enable this Gleam support generics, also known as -- cgit v1.2.3