aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter1_functions/lesson04_anonymous_functions/en.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/chapter1_functions/lesson04_anonymous_functions/en.html')
-rw-r--r--src/content/chapter1_functions/lesson04_anonymous_functions/en.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/content/chapter1_functions/lesson04_anonymous_functions/en.html b/src/content/chapter1_functions/lesson04_anonymous_functions/en.html
new file mode 100644
index 0000000..6c6d47d
--- /dev/null
+++ b/src/content/chapter1_functions/lesson04_anonymous_functions/en.html
@@ -0,0 +1,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>