From e68eb04d690454428216a0f0f1b11399feeb7dc1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 1 Jan 2019 15:55:37 -0800 Subject: [PATCH] Oops, missing paren. --- examples/how_do_i.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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