aboutsummaryrefslogtreecommitdiff
path: root/core/control_flow.nom
diff options
context:
space:
mode:
Diffstat (limited to 'core/control_flow.nom')
-rw-r--r--core/control_flow.nom8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/control_flow.nom b/core/control_flow.nom
index eaf29f4..2816dfb 100644
--- a/core/control_flow.nom
+++ b/core/control_flow.nom
@@ -423,3 +423,11 @@ immediately
end
end --do-then-always
+# Inline thunk:
+immediately
+ compile [result of %body] to
+ Lua value ".."
+ (function()
+ \(%body as lua statements)
+ end)()
+