Re: abusing exceptions for continuations

2007-12-11 Thread Lautaro Pecile
On Dec 10, 5:39 am, gangesmaster <[EMAIL PROTECTED]> wrote: > i've had this strange idea of using the exception's traceback (which > holds the stack frame) to enable functional continuations, meaning, > raise some special exception which will be caught by a reactor/ > scheduler/framework, which cou

Re: abusing exceptions for continuations

2007-12-10 Thread Paul McGuire
On Dec 10, 2:39 am, gangesmaster <[EMAIL PROTECTED]> wrote: > i've had this strange idea of using the exception's traceback (which > holds the stack frame) to enable functional continuations, meaning, > raise some special exception which will be caught by a reactor/ > scheduler/framework, which cou

Re: abusing exceptions for continuations

2007-12-10 Thread Bruno Desthuilliers
gangesmaster a écrit : > i've had this strange idea of using the exception's traceback (which > holds the stack frame) to enable functional continuations, meaning, > raise some special exception which will be caught by a reactor/ > scheduler/framework, which could later revive it by restoring the >

abusing exceptions for continuations

2007-12-10 Thread gangesmaster
i've had this strange idea of using the exception's traceback (which holds the stack frame) to enable functional continuations, meaning, raise some special exception which will be caught by a reactor/ scheduler/framework, which could later revive it by restoring the frame. i'm thinking of using th