Skip to content

RangeExpression #9

@iamcarbon

Description

@iamcarbon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions