From 30948d0d4a1909ec11b63df17cc1a422fd463d69 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Tue, 27 Aug 2024 04:38:41 +0000 Subject: [PATCH] Update Examples --- Examples.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Examples.md b/Examples.md index 09622f2..df2f490 100644 --- a/Examples.md +++ b/Examples.md @@ -1066,6 +1066,7 @@ fn main ``` Another consideration is whether we want to have a shorthand for non-closure anonymous inline functions (i.e. ones that are enforced not to capture any identifiers). If so, the simplest mechanism might just be to use another arrow, i.e. Husht could look like: + ``` fn main let anon_func = x --> x*x