Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Question of clarification about #4 in the above claim. Is it really correct? is a generator really a subtype? I was under the impression that a generator is an object, not a type. Commented Jan 14, 2023 at 10:56
  • 1
    @JimNewton Generator is undoubtfully an object, as you can return it (from a function), and pass it as a ref/param Commented Apr 20, 2023 at 8:24