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

Implement Any.all (and .any, .one, .none) in Rakudo #1816

Closed
p6rt opened this issue Jun 9, 2010 · 4 comments
Closed

Implement Any.all (and .any, .one, .none) in Rakudo #1816

p6rt opened this issue Jun 9, 2010 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 9, 2010

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

Searchable as RT75626$

@p6rt
Copy link
Author

p6rt commented Jun 9, 2010

From @masak

<TimToady> well, it was $_, so just .all works
<masak> ooh!
<masak> rakudo​: .all
<p6eval> rakudo 34c1ba​: OUTPUT«Method 'all' not found for invocant of
class '' [...]
* masak submits rakudobug
<colomon> What type is .all supposed to be defined on?
<TimToady> Any -> List
<jnthn> Ah, then it is a rakudobug.
<jnthn> rakudo​: 42.all
<p6eval> rakudo 34c1ba​: OUTPUT«Method 'all' not found for invocant of
class 'Int' [...]
<jnthn> Ah, OK, actually not bug, just NYI.
<TimToady> in any case, it ought to work in your subset of Array
<TimToady> rakudo​: my @​a = 1,2,3; say @​a.all
<p6eval> rakudo 34c1ba​: OUTPUT«Method 'all' not found for invocant of
class 'Array' [...]

@p6rt
Copy link
Author

p6rt commented Jun 12, 2010

From @jnthn

On Wed Jun 09 05​:12​:54 2010, masak wrote​:

<TimToady> well, it was $_, so just .all works
<masak> ooh!
<masak> rakudo​: .all
<p6eval> rakudo 34c1ba​: OUTPUT«Method 'all' not found for invocant of
class '' [...]
* masak submits rakudobug
<colomon> What type is .all supposed to be defined on?
<TimToady> Any -> List
<jnthn> Ah, then it is a rakudobug.
<jnthn> rakudo​: 42.all
<p6eval> rakudo 34c1ba​: OUTPUT«Method 'all' not found for invocant of
class 'Int' [...]
<jnthn> Ah, OK, actually not bug, just NYI.
<TimToady> in any case, it ought to work in your subset of Array
<TimToady> rakudo​: my @​a = 1,2,3; say @​a.all
<p6eval> rakudo 34c1ba​: OUTPUT«Method 'all' not found for invocant of
class 'Array' [...]

Implemented and tests added by (Vyacheslav Matjukhin)++; resolving.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Jun 12, 2010

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

@p6rt
Copy link
Author

p6rt commented Jun 12, 2010

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jun 12, 2010
@p6rt p6rt added the Todo 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