[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Metamethods: fallbacks or overrides?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 18 Aug 2014 07:43:02 +0200
2014-08-18 2:45 GMT+02:00 Thiago L. <fakedme@gmail.com>:
> Ouch... and we don't have a rawtostring()..
That would not help. It's fairly easy to code rawtostring in Lua,
but:
> print(rawtostring( "hello world" ))
bye bye
Reason: "print" calls tostring on every argument even if
it is already a string. io.write is necessary.
I'm adding "print" to my list of things that RLP's (Real Lua
Programmers) do not use.