aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-01 15:55:37 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-01 15:55:37 -0800
commite68eb04d690454428216a0f0f1b11399feeb7dc1 (patch)
treef113205007f169bd7eb2d8a4056afee3b3be8afe /examples
parenta82b0d9d2435cca72629c1e5e73cdcb89f728ac0 (diff)
Oops, missing paren.
Diffstat (limited to 'examples')
-rw-r--r--examples/how_do_i.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/how_do_i.nom b/examples/how_do_i.nom
index d40c7f4..61a2b18 100644
--- a/examples/how_do_i.nom
+++ b/examples/how_do_i.nom
@@ -316,7 +316,7 @@ say (best of [2, -3, 4, -8] according to ($x -> ($x * $x)))
# Or, you can use $(foo $) to access the function that gets called by (foo $)
($x squared) means ($x * $x)
-say (best of [2, -3, 4, -8] according to $($ squared)
+say (best of [2, -3, 4, -8] according to $($ squared))
# But nomsu was designed with flexible alternatives that are often better than passing functions.
For example, instead of calling a key function on every item, you could instead define a macro