aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter1_functions/lesson04_anonymous_functions/en.html
blob: 6c6d47d9bfb898fa4b4e87b0755005cd0ad3a258 (plain)
1
2
3
4
5
<p>
  As well as module-level named functions, Gleam has anonymous function
  literals, written with the <code>fn() { ... }</code> syntax.
</p>
<p>Anonymous functions can be used interchangeably with named functions.</p>