aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter1_functions
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-01-18 21:51:41 +0000
committerLouis Pilfold <louis@lpil.uk>2024-01-18 21:51:41 +0000
commit3edd3a3de2500e04fc4e57c709d4667ce4689994 (patch)
tree0495d12fa65152b082743089b95806afbec9fb27 /src/content/chapter1_functions
parent1b79f5acb0f95e89a0c80a37e6350c2e7f4f1af3 (diff)
downloadtour-3edd3a3de2500e04fc4e57c709d4667ce4689994.tar.gz
tour-3edd3a3de2500e04fc4e57c709d4667ce4689994.zip
Various fixes
Thank you @giacomocavalieri!
Diffstat (limited to 'src/content/chapter1_functions')
-rw-r--r--src/content/chapter1_functions/lesson04_anonymous_functions/text.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/content/chapter1_functions/lesson04_anonymous_functions/text.html b/src/content/chapter1_functions/lesson04_anonymous_functions/text.html
index f7bea3f..6c6d47d 100644
--- a/src/content/chapter1_functions/lesson04_anonymous_functions/text.html
+++ b/src/content/chapter1_functions/lesson04_anonymous_functions/text.html
@@ -1,7 +1,5 @@
<p>
As well as module-level named functions, Gleam has anonymous function
- literals.
-</p>
-<p>
- Anonymous functions can be used interchangeably with named functions.
+ literals, written with the <code>fn() { ... }</code> syntax.
</p>
+<p>Anonymous functions can be used interchangeably with named functions.</p>