Closures/Value capture: Difference between revisions

m
No edit summary
Line 31:
collect !
{eval %d nl <<} each }))</lang>
 
This program produces the following output:
 
<lang babel>
((main {
{ iter
1 take bons 1 take
dup cp
{*} cp
3 take
append }
10 times
collect !
{eval %d nl <<} each })
</lang>
 
This program produces the following output:
Anonymous user