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

Point out difference between finite and infinite Range subscripts #2803

Merged
merged 1 commit into from May 17, 2019

Conversation

taboege
Copy link
Member

@taboege taboege commented May 17, 2019

The problem

From the example of 0..^* and 0..^*+0 being consistent in Range subscripts (even though they are technically very different), it might sound like WhateverCode (finite) ranges and infinite ranges might be consistent everywhere. This is not the case.

Solution provided

Add a half-sentence pointing out and explaining the difference one should expect between 0..* and 0..*+0 when used as subscript.

Copy link
Contributor

@JJ JJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JJ JJ merged commit d8b0b50 into Raku:master May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants