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

Document new r.range command #536

Closed
VeXocide opened this issue Oct 6, 2014 · 3 comments
Closed

Document new r.range command #536

VeXocide opened this issue Oct 6, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@VeXocide
Copy link
Member

VeXocide commented Oct 6, 2014

rethinkdb/rethinkdb#875 which is currently in review adds a new r.range command which needs to be documented.

Three versions currently exist, first of all r.range() which generates an infinite sequence from 0 onwards. Secondly r.range(n) which produces a sequence from 0 to n, not including n, and r.range(n, m) which produces a sequence from n to m, including n but not including m.

@VeXocide VeXocide added the next label Oct 6, 2014
@chipotle chipotle self-assigned this Oct 6, 2014
@chipotle
Copy link
Contributor

chipotle commented Oct 6, 2014

It looks like this is still a little in flux, with a step option coming?

@VeXocide
Copy link
Member Author

VeXocide commented Oct 6, 2014

There are two proposals at the moment, the first of which is rethinkdb/rethinkdb#3148 to add the step optarg to r.range(). This is fairly trivial for integers thus I'll probably end up adding that soon.

The second, rethinkdb/rethinkdb#3149, is to add support for more types, particularly dates and floating point numbers. It's more involved and will require some discussion, thus that'll probably take some more time.

@chipotle chipotle added this to the 1.16 milestone Oct 14, 2014
@VeXocide
Copy link
Member Author

Neither step nor support for more types will make it into 1.16 as they both need some discussion, thus it's just the r.range as initially described.

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

2 participants