Talk:Generator/Exponential: Difference between revisions

→‎"Draft" reasoning: Feel free to help edit the task (I've got a watch on the page; I'll notice…)
m (→‎"Draft" reasoning: synthesize a signature...)
(→‎"Draft" reasoning: Feel free to help edit the task (I've got a watch on the page; I'll notice…))
Line 13:
:Note that this tasks ''requires'' the use of generators in the calculation of the result.
::<small>(Preceding comment by [[User:Paddy3118|Paddy3118]])</small>
 
: Feel free to edit the task. Note that I was trying hard to make it so that it didn't require Stackless Python; that's a bit of an artificial restriction for someone coming from the Tcl world, where we didn't even bother trying to do coroutines until we had a stackless execution engine. Mind you, being able to put the yield deep inside is in general much more useful; the code between the outermost level and the point where it yields can be actually written to be unaware that it is in a generating context, which leads to cool tricks with coöperative multitasking. Maybe I'll work those into another task sometime. –[[User:Dkf|Donal Fellows]] 00:21, 23 November 2010 (UTC)
Anonymous user