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

RangeExpression #9

Open
iamcarbon opened this issue Jan 31, 2017 · 0 comments
Open

RangeExpression #9

iamcarbon opened this issue Jan 31, 2017 · 0 comments

Comments

@iamcarbon
Copy link
Member

Rust & Swift both use "half open range" syntax for ranges -- while F# seems to use the entire range. Leaning toward the later. Let's see what C# does.

0..10    Rust  (half range)
0..<20 Swift  (half range)

for i in 0..5 {
  write(i)
}
-> 012345
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

No branches or pull requests

1 participant