Re: Most awesome string metatable hack
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Most awesome string metatable hack
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sat, 1 Feb 2014 23:28:17 +0200
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?