From ce75981c584fb82d8d0a0a2dbfb3b57384aaf9f8 Mon Sep 17 00:00:00 2001 From: Maxwell Jeffress Date: Mon, 2 Mar 2026 10:14:35 +1100 Subject: [PATCH] Update Readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 2645887..699614f 100644 --- a/README.md +++ b/README.md @@ -121,3 +121,10 @@ Supported instructions so far: * print * println * end + +## Closures + +So I decided to add closures to Ground. Here's how they work: + +* When you define a function, it makes a copy of the scope it's currently in. Variables are statically captured +* Use those variables in functions. Closure achieved! \ No newline at end of file