Write a table in Lua?

I want to use a write-once table in Lua (especially LuaJIT 2.0.3), like this:

local tbl = write_once_tbl()
tbl[“a”] =’foo’
tbl[“b”] =’bar’
tbl[“a”] =’baz’ – asserts false Ideally, this will b

Lua nested

I am trying to use the redis-lua library within copas. It needs some patching.
One problem is that redis-lua defines some iterators as coroutines, but these iterators execute Network operations th