[plt-scheme] Continuation barriers and C extensions

From: Daniel Silva (daniel.silva at gmail.com)
Date: Tue Nov 23 12:44:20 EST 2004

On Tue, 23 Nov 2004 06:30:42 -0700, Matthew Flatt <mflatt at cs.utah.edu> wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> At Tue, 23 Nov 2004 21:16:58 +0900, Daniel Silva wrote:
> > Py-apply goes to C, unwraps the function object,
> > and calls MzScheme's scheme_apply.
> 
> To avoid wrapping the application with a continuation barrier, use
> _scheme_apply(), instead of scheme_apply().

Wonderful, thanks!  Spy now has two implementations of generators: one
written in scheme and exposed to Python, and one written in pure
Python :-)

Daniel


Posted on the users mailing list.