P6C and closures

2002-09-12 Thread Piers Cawley
So, do we have a timetable for when the Perl 6 interpreter is going handle closures? Also, consider the following: sub fac($n) { when 0 { 1 } default { $n * fac($n - 1) } } print1 fac(10); Compiling this barfs because there's 'no topic in fac', despite the apocalypse stating

Re: P6C and closures

2002-09-12 Thread Sean O'Rourke
On Thu, 12 Sep 2002, Piers Cawley wrote: So, do we have a timetable for when the Perl 6 interpreter is going handle closures? When it uses find_lex/store_lex instead of registers for locals, which will take a bit of doing, though it's near the top of more than one todo list. Also, consider