[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: coroutine metatable
- From: "Patrick Donnelly" <batrick.donnelly@...>
- Date: Fri, 9 Nov 2007 00:02:55 -0700
Is there a reason why coroutines don't have a metatable similar to
strings so that they automatically inherit the coroutine table?
Such that you could do:
local hi = coroutine.create(function() end);
hi:resume()
--
-Patrick Donnelly
"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."
-Will Durant