HaxeFoundation / HaxeFoundation/haxe

IntIterators are not Iterable

Open
#11,664 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```haxe
using Lambda;
...
(1...3).iter(i->trace(i));
```
The above seems like it should be valid syntax, but since IntIterator does not have an `iterator():Iterator` method to allow it to work as an Iterable, it does not work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.