forked from ground/ground
Update Readme
This commit is contained in:
@@ -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!
|
||||
Reference in New Issue
Block a user