Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Be more explicit about range syntax, and throw syntax errors as appropriate #38

Open
mccalluc opened this issue Dec 1, 2016 · 0 comments

Comments

@mccalluc
Copy link
Contributor

mccalluc commented Dec 1, 2016

Superficially, our range syntax is similar to python's. A number of bugs already filed. Additionally:

  • Negative step value?
  • Leave off the first index to get everything from the start?
  • Or leave off the last index to get everything till the end?

I think it's fine not to support this full syntax, but we should be more clear about what the limits are:

  • The exact syntax should be documented, and
  • if that syntax is violated there should be an error, instead of a silent failure.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant