[Python-ideas] Cofunctions - Back to Basics

Sven Marnach sven at marnach.net
Thu Oct 27 20:32:08 CEST 2011


Steven D'Aprano schrieb am Do, 27. Okt 2011, um 23:19:31 +1100:
> Is there any prior art in other languages? I have googled on
> "cofunction", and I get many, many hits to the concept from
> mathematics (e.g. sine and cosine) but virtually nothing in
> programming circles. Apart from this PEP, I don't see any sign of
> prior art, or that cofunction is anything but your own term. If
> there is prior art, you should describe it, and if not, you should
> say so.

The usual term in programming is "coroutine" rather than "cofunction":

    http://en.wikipedia.org/wiki/Coroutine

Cheers,
    Sven



More information about the Python-ideas mailing list