From an old summary:
http://www.perl.com/pub/a/2003/04/p6pdigest/20030427.html?page=2
> Paul Hodges took a crack at implementing for as a subroutine and came
up with
> something that didn't look too insane. Luke Palmer added a refinement
allowing
> for n at a time looping. However, for reasons that I can't quite put
my finger
> on, I'm not quite sure that either method has got the sub signature
quite
> right, and I'm not entirely sure how you would express for's
signature as a
> Perl 6 signature anyway. Answers on a mailing list please.
Did this ever get resolved to anyone's satisfaction? While reading
EX6, I found myself wonder exactly what for() would look like in Perl 6
code...
-John
- Re: Perl 6's for() signature John Siracusa
- Re: Perl 6's for() signature Luke Palmer
- Re: Perl 6's for() signature John Siracusa
- Re: Perl 6's for() signature Rod Adams
- Re: Perl 6's for() signature Jonathan Worthington
- Re: Perl 6's for() signature attriel
- Re: Perl 6's for() signature Brent Dax
- Re: Perl 6's for() signature Jonadab the Unsightly One
- Re: Perl 6's for() signature Benjamin Goldberg
- Re: Perl 6's for() signature Luke Palmer
- RE: Perl 6's for() signature Austin Hastings