Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Mar 11, 2024
1 parent b2d98b5 commit 95181e1
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
arguments.
</p>
<p>
The <code>twice</code> 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 <code>twice</code> function in the previous lesson on
<i>higher order functions</i> 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.
</p>
<p>
To enable this Gleam support <em>generics</em>, also known as
Expand Down

0 comments on commit 95181e1

Please sign in to comment.