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
Migrated from rt.perl.org#130565 (status was 'open')
Searchable as RT130565$
The text was updated successfully, but these errors were encountered:
say Bool.pick Xxx ^5
will only ever output one of these two results
(() (True) (True True) (True True True) (True True True True)) (() (False) (False False) (False False False) (False False False False))
If you place the left side in a list it does work
say (Bool.pick,) Xxx ^5 (() (True) (False True) (False True False) (True True False True))
First came to my attention with this commit rakudo/rakudo@a26f51361b As far as I know it has never worked though
The infix:<xx> operator has a thunky of 't.', and that code in the commit is looking for a thunky of '.t' or '.b' etc
infix:<&&> has a thunky of '.t' and infix:<xor> has a thunky of '.b'
A proper test would be something like the following
my $count = 0; is-deeply ($count++ Xxx ^5).list, ((),(0,),(1,2),(3,4,5),(6,7,8,9)); is $count, 10;
Sorry, something went wrong.
Also observable with ||:
➜ say <0 0 0 0 0 0 0> X|| $++; (0 0 0 0 0 0 0) ➜ say <0 0 0 0 0 0 0> X|| ($++,); (0 1 2 3 4 5 6)
The RT System itself - Status changed from 'new' to 'open'
No branches or pull requests
Migrated from rt.perl.org#130565 (status was 'open')
Searchable as RT130565$
The text was updated successfully, but these errors were encountered: