Lua image error

I installed the lua image according to this – link. I also tested my installation with luajit -limage -e “image.test()”, it said 0 errors and 0 warnings. Also, when I try

> require’image’
> l

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