Skip to content
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

Rakudo allows infix:<!+> even though infix:<+> is not iffy enough by STD.pm #1585

Closed
p6rt opened this issue Mar 7, 2010 · 3 comments
Closed

Comments

@p6rt
Copy link

p6rt commented Mar 7, 2010

Migrated from rt.perl.org#73386 (status was 'resolved')

Searchable as RT73386$

@p6rt
Copy link
Author

p6rt commented Mar 7, 2010

From @masak

<colomon> rakudo​: say 3 !+ 4
<p6eval> rakudo 125e87​: OUTPUT«0␤»
<colomon> rakudo​: say 3 !+ -3
<p6eval> rakudo 125e87​: OUTPUT«1␤»
<masak> std​: 3 !+ 4
<p6eval> std 29974​: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m␤Can't negate
+ because additive operators are not iffy enough [...] FAILED 00​:01
105m␤»
* masak submits rakudobug
<masak> not iffy enough.
<colomon> not iffy enough?!
<masak> right. that's what I said. :)
<masak> colomon​: http://irclog.perlgeek.de/perl6/2009-02-01#i_878319
<colomon> masak​: I see "iffy" there, but I don't see much in the way
of explanation that I understand?
<masak> colomon​: ok, so an iffy operator is one which produces a
boolean-ish answer.
<masak> colomon​: basically, all the logical ops, comparison ops, and %.

@p6rt
Copy link
Author

p6rt commented Feb 23, 2011

@moritz - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Feb 23, 2011
@p6rt
Copy link
Author

p6rt commented Feb 23, 2011

From @zhuomingliang

test added. see Raku/roast@3e93462858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant