-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arrays should flatten in for loop expressions in the absence of explicit don't-flatten clues, but they don't in Rakudo #2082
Comments
From @masak<masak> rakudo: for [] -> $a { say $a.perl } |
From @pmichaudOn Fri, Aug 20, 2010 at 03:42:57PM -0700, Carl Mäsak wrote:
Initially I disagree. Consider: my %h = abc => [1,2,3], def => 4; for %h<abc def> -> $x { say $x.perl; } I'd expect that loop to iterate twice, not 4 times. To get an array in a hash element to flatten, I'd suggest @%h<abc> . TimToady can override this interpretation, in which case we'll Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Fri Aug 20 17:53:36 2010, pmichaud wrote:
Sorry about the delay. 02:53 < [Coke]> Here's another ticket that requires a ruling, and perhaps a Rejecting ticket, sorry. -- |
@coke - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#77340 (status was 'rejected')
Searchable as RT77340$
The text was updated successfully, but these errors were encountered: