-
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
Junctions don't junct when routine has a slurpy, leading to inconsistent behaviour with core routines #6431
Comments
From @zoffixznetOriginally taken from: https://stackoverflow.com/questions/45527881/why-does-and-affect-perl-6-junctions-differently For example, there's a difference between output of using `+` and using ` <Zoffix__> put any( 1, 3, 7 ) + 1; The reason is the `~` has a slurpy candidate, while `+` doesn't: Junction as just an arg: Junctioned call: There are two question: |
From @AlexDanielThis ticket needs an update because ~ was changed to DWIM with junctions, so all the examples in the ticket show something different (but the issue seems to be there). I didn't go too deep into the details, but maybe these examples will do? <AlexDaniel> m: sub foo ($a, $b) { ($a, $b).max }; say foo <h H>.any, ‘amadryas’ On 2017-08-07 15:34:26, cpan@zoffix.com wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
From @zoffixznetOn Mon, 07 Aug 2017 15:34:26 -0700, cpan@zoffix.com wrote:
Hello, Past Zoffix. How do you imagine slurpies would junct even? Scanning all elements (including nested ones) for Junctions? Rejecting this as I don't see anything sane coming out from it. The `~` was made to behave the same as `+` now; though the overall goalpost was moved and there's now a problem with output routines: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=132549#ticket-history |
@zoffixznet - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#131856 (status was 'rejected')
Searchable as RT131856$
The text was updated successfully, but these errors were encountered: