New parrot feature: reset coros, or not? how to deal with dead coros

2014-10-15 Thread Reini Urban
Current parrot behaviour for exhausted yields is dying with Cannot resume dead coroutine. parrot coros are designed after lua, but lua does return nil and as 2nd return value announces also cannot resume dead coroutine. most lisp's also behave the same way. As third version the parrot book

Re: New parrot feature: reset coros, or not? how to deal with dead coros

2014-10-15 Thread Michael Zedeler.
Hi Reini. On 2014-10-15 16:21, Reini Urban wrote: Current parrot behaviour for exhausted yields is dying with Cannot resume dead coroutine. parrot coros are designed after lua, but lua does return nil and as 2nd return value announces also cannot resume dead coroutine. most lisp's also behave