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

Make Range do Positional in Rakudo #866

Closed
p6rt opened this issue Apr 5, 2009 · 4 comments
Closed

Make Range do Positional in Rakudo #866

p6rt opened this issue Apr 5, 2009 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 5, 2009

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

Searchable as RT64482$

@p6rt
Copy link
Author

p6rt commented Apr 5, 2009

From @masak

<masak> rakudo​: say (1..8)[*-1]
<jnthn> Well, I guess we can hand back Inf.
<p6eval> rakudo 0310a3​: OUTPUT«elements() not implemented in class 'Range' [...]
* masak submits rakudobug
<pmichaud> Range doesn't understand Positional yet.
<jnthn> Ah, yes, I guess Range will want its own implementation of Positional.

@p6rt
Copy link
Author

p6rt commented Apr 9, 2009

From @jnthn

On Sun Apr 05 08​:58​:34 2009, masak wrote​:

<masak> rakudo​: say (1..8)[*-1]
<p6eval> rakudo 0310a3​: OUTPUT«elements() not implemented in class
'Range' [...]
* masak submits rakudobug
<pmichaud> Range doesn't understand Positional yet.

They understand it sufficiently now to get at least this and slices of
ranges right. Doesn't do laziness, but think that's a separate ticket or
for when we more generally deal with laziness.

Added a couple of tests, including the example in the ticket.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Apr 9, 2009

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

@p6rt
Copy link
Author

p6rt commented Apr 9, 2009

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

@p6rt p6rt closed this as completed Apr 9, 2009
@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