[plt-scheme] Continuation barriers and C extensions
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