We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.hyper/.race.map(&f)
&f
Migrated from rt.perl.org#128084 (status was 'resolved')
Searchable as RT128084$
The text was updated successfully, but these errors were encountered:
➜ sub f ($a) { $a**2 }; say (^10).hyper.map(&f).list; (0 1 4 9 16 25 36 49 64 81)
➜ multi f ($a) { $a**2 }; say (^10).hyper.map(&f).list; ()
The expected behavior would be for both examples to produce the same (non-empty) list.
(This was first reported by Alexander Moquin in a comment to ticket #126597, but I think it should have its own ticket.)
Sorry, something went wrong.
On Fri, 06 May 2016 08:37:20 -0700, smls75@gmail.com wrote:
➜ sub f ($a) { $a**2 }; say (^10).hyper.map(&f).list; (0 1 4 9 16 25 36 49 64 81) ➜ multi f ($a) { $a**2 }; say (^10).hyper.map(&f).list; () The expected behavior would be for both examples to produce the same (non-empty) list. (This was first reported by Alexander Moquin in a comment to ticket #126597, but I think it should have its own ticket.)
Fixed in new hyper/race implementation; tests in S07-hyperrace/hyper.t and S07-hyperrace/race.t.
The RT System itself - Status changed from 'new' to 'open'
@jnthn - Status changed from 'open' to 'resolved'
No branches or pull requests
Migrated from rt.perl.org#128084 (status was 'resolved')
Searchable as RT128084$
The text was updated successfully, but these errors were encountered: