Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
add yield keyword to support continuations.
e.g.
// simple way to implement an iterator
foo()
// or
foo() {
for i in bar {
if i.whatnot == 7
}
}