lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It looks very functional. I like it. 
If it's not costy, it would be an incredible addition! 

2017-07-03 23:44 GMT+01:00 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> math.exp( 1 )->cosh()->round( 7 )

You can almost do that right now:

debug.setmetatable(0,{
        __bor = function (x,y) return y(x) end
})

print(math.exp(1) | math.cosh)




--
Etiene Dalcol

Software Engineer @ Red Badger 
Lua Space http://lua.space
LuaConf http://luaconf.com