Check the possibility of using goto statements to properly simulate lambdas
Open
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The bug advantage on this is that will be possible to use lambda as real lambda from other languages: to access variables from inside the context. Today the following example will generate an error because the lambda function is acessing a local variable from inside the context:
```c
@fn main() {
int age = 20
filter(@fn () {
printf("%d\n", age)
})
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.