Skip to content

'range' should support an integer operand. #180

Closed
@gopherbot

Description

@gopherbot

by jesse.dailey:

The 'range' clause should support an integer as it's right operand.

Such as:

for i := range 10 {
  // do stuff ten times, i = 0,1,...9
}

Or similar.  Analogous to the way the range() iterator works in python.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions