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
Reduced && ([&&] and [and]) is not implemented #1886
Comments
From kapranoff@gmail.comSince && and "and" are special-cased for short-circuiting automatic Here a simple patch "by analogy". Index: S03-metaops/reduce.t--- S03-metaops/reduce.t (revision 31194) +#?rakudo skip 'implement [&&] and [and]' Inline Patchdiff --git a/src/core/operators.pm b/src/core/operators.pm
index ecdd356..4ad0884 100644
--- a/src/core/operators.pm
+++ b/src/core/operators.pm
@@ -553,10 +553,12 @@ our multi sub infix:<X>($a, $b) { &infix:<X>($a.list,
# if we want &infix:<||> accessible (for example for meta operators), we our multi sub infix:<||>(Mu $a, Mu $b) { $a || $b } # Eliminate use of this one, but keep the pir around for -- |
From @jnthnOn Sun Jun 27 14:21:34 2010, kapranoff@gmail.com wrote:
Applied patch and tests, thanks. Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#76206 (status was 'resolved')
Searchable as RT76206$
The text was updated successfully, but these errors were encountered: