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
.flatmap doesn't flatten #4937
Comments
From @zoffixznetIt seems .flatmap method does not flatten. Running the example in the docs produces wrong result: Also, this: Relevant IRC conversation: http://irclog.perlgeek.de/perl6/2015-12-26#i_11781049 |
From @zoffixznetMore cases with flat too: <AlexDaniel> m: my @a = (1, 2), 3; say flat @a |
From @ninerArrays itemize their elements. Itemized are never flattened, even when explicitly flattening the array. You need to recursively walk through the nested data structure either by converting everything into Slips or using gather/take or something else. |
The RT System itself - Status changed from 'new' to 'open' |
@zoffixznet - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#127036 (status was 'rejected')
Searchable as RT127036$
The text was updated successfully, but these errors were encountered: