Please give me, for instance, a simple Scheme example showing the desired behaviour of closures that you think that Perl does not support. I doubt I will have any problem in translating it.
Now to avoid the naming problem above I will need to avoid (for obvious reasons) having the inner subroutine be given a potentially ambiguous global name. But that is a minor detail, and there are many ways around it in practice.
In reply to Re (tilly) 7: Why are closures cool?
by tilly
in thread Why are closures cool?
by mr.dunstan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |