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

NQP needs "!~~" operator #5478

Closed
p6rt opened this issue Jul 23, 2016 · 5 comments
Closed

NQP needs "!~~" operator #5478

p6rt opened this issue Jul 23, 2016 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 23, 2016

Migrated from rt.perl.org#128711 (status was 'rejected')

Searchable as RT128711$

@p6rt
Copy link
Author

p6rt commented Jul 23, 2016

From @tbrowder

NQP currently requires this​:

  unless $var ~~ $regex { ... }

but it would be convenient to use​:

  if $var !~~ $regex { ... }

@p6rt
Copy link
Author

p6rt commented Jul 23, 2016

From @pmichaud

On Sat Jul 23 16​:26​:25 2016, tbrowder wrote​:

NQP currently requires this​:

unless $var ~~ $regex { ... }

but it would be convenient to use​:

if $var !~~ $regex { ... }

NQP-specific improvements probably belong in the NQP ticket queue​: https://github.com/perl6/nqp/issues

Beyond that, is there a specific use case where this convenience is truly needed? NQP is intended to be a minimalist language, not a duplicate of Perl 6.

Pm

@p6rt
Copy link
Author

p6rt commented Jul 23, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 27, 2016

From @coke

On Sat Jul 23 16​:39​:23 2016, pmichaud wrote​:

On Sat Jul 23 16​:26​:25 2016, tbrowder wrote​:

NQP currently requires this​:

unless $var ~~ $regex { ... }

but it would be convenient to use​:

if $var !~~ $regex { ... }

NQP-specific improvements probably belong in the NQP ticket queue​:
https://github.com/perl6/nqp/issues

Beyond that, is there a specific use case where this convenience is
truly needed? NQP is intended to be a minimalist language, not a
duplicate of Perl 6.

Pm

Moved ticket to Raku/nqp#300, please follow its progress there.

FYI, there was some chat about this on IRC before Tom opened the ticket here. hard to search for !~~, though.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 27, 2016

@coke - Status changed from 'open' to 'rejected'

@p6rt p6rt closed this as completed Jul 27, 2016
@p6rt p6rt added the compiler label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant