Skip to content

Generators (iterator functions), sync and async #137

@nikomatsakis

Description

@nikomatsakis

Summary

Add some form of export for generators, which are functions that when called, return an iterator. Precise syntax is TBD.

Info

What is this issue?

This issue represents an active initiative. It is meant to be used for
the group to post updates to the lang team (and others) in a lightweight
fashion. Please do not use the comments here for discussion, that should be kept
in the Zulip stream (discussion comments here will be marked as off-topic).

Metadata

Metadata

Labels

Type

No type

Projects

Status

Experimental

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions