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