I needed the library to return bin when required and not modify the global namepace
7 lines
117 B
Lua
7 lines
117 B
Lua
package.path="?/init.lua;"..package.path
|
|
require("bin")
|
|
local bits = bin.bits
|
|
for i=0,255 do
|
|
print(bits.new(i))
|
|
end
|