[plt-scheme] Fun with Unicode and delimited continuations

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu Jun 3 12:33:53 EDT 2010

On Jun 3, 2010, at 12:31 PM, John Clements wrote:

>> Sorry, maybe this wasn't clear: I mean e.g. the python 'yield', which allows a function to return multiple values in a serialized form.


If you can write a yield + create a two-element structure in Python that way, you can mimic delimited continuations. 


> The only problem with this mechanism is that the yield boundary is fixed on entry to the function call.

That's minor. Reset is next to the function entry point too. 

Go for it. Show us that Python has delimited continuations. 



Posted on the users mailing list.