This website requires JavaScript.
Explore
Help
Sign In
nocturn9x
/
peon
Watch
2
Star
2
Fork
You've already forked peon
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
5d572386a3
peon
/
tests
/
closures.pn
10 lines
114 B
Plaintext
Raw
Blame
History
fn makeClosure(n: int): fn: int {
fn inner: int {
return n;
}
return inner;
}
makeClosure(1)();
Reference in New Issue
View Git Blame
Copy Permalink