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

nep1: prefer a..b to a .. b except if b has an operator (eg: a .. -1) #16992

Merged
merged 3 commits into from
Feb 10, 2021

Conversation

timotheecour
Copy link
Member

refs #16981 (comment)

nep1 concentrates debate in 1 place instead of debating it in each PR

@timotheecour timotheecour changed the title nep1: prefer a..b to a .. b except if b has an operator nep1: prefer a..b to a .. b except if b has an operator (eg: a .. -1) Feb 10, 2021
@ringabout ringabout added the Vote label Feb 10, 2021
doc/nep1.rst Outdated Show resolved Hide resolved
doc/nep1.rst Outdated Show resolved Hide resolved
@juancarlospaco
Copy link
Collaborator

juancarlospaco commented Feb 10, 2021

I think https://nim-lang.github.io/Nim/contributing.html#best-practices should be cleaned and moved here,
feels like duplication of efforts, DRY.

I like the change.

@timotheecour
Copy link
Member Author

should be cleaned and moved here

I think the distinction is:

@juancarlospaco
Copy link
Collaborator

Okay.

doc/nep1.rst Outdated Show resolved Hide resolved
@Araq Araq merged commit 897cb4b into nim-lang:devel Feb 10, 2021
@timotheecour timotheecour deleted the pr_nep1_dot_dot branch February 10, 2021 11:15
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
… .. -1`) (nim-lang#16992)

* nep1: prefer `a..b` to `a .. b` except if b has an operator

* address comments

* address comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants