lua-users home
lua-l archive

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


2014-02-01 Patrick Donnelly <batrick@batbytes.com>:

> I think it would be an improvement if the % operator also accepted
> closures in this case:
>
> "Hello %s" % function() return "world" end

So, should it be done by metatabling __mod for strings or
for functions?