[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
**Subject**: **Re: Arithmetic on strings**
**From**: Rena <hyperhacker@...>
**Date**: Wed, 13 Jun 2012 16:21:25 -0600

On Wed, Jun 13, 2012 at 4:18 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> On Wed, Jun 13, 2012 at 5:03 PM, Rena <hyperhacker@gmail.com> wrote:
>> So, my ideal change would be to remove all implicit conversion between
>> strings and numbers, but provide a default __concat that allows
>> concatenating numbers and strings.
>
> mine would be: remove implicit conversions from the core language and
> C API (making Lua a more strongly typed language) and make
> table.concat() and string.format()'s "%s" call __tostring, which would
> have default values.
>
> --
> Javier
>
They don't already? I thought that had been fixed in 5.2...
--
Sent from my Game Boy.

**References**:
**Re: Arithmetic on strings, ***liam mail*
**Re: Arithmetic on strings, ***Andrew Starks*
**Re: Arithmetic on strings, ***Javier Guerra Giraldez*
**Re: Arithmetic on strings, ***Roberto Ierusalimschy*
**Re: Arithmetic on strings, ***liam mail*
**Re: Arithmetic on strings, ***Hans Hagen*
**Re: Arithmetic on strings, ***Roberto Ierusalimschy*
**Re: Arithmetic on strings, ***Hans Hagen*
**Re: Arithmetic on strings, ***Roberto Ierusalimschy*
**Re: Arithmetic on strings, ***Hans Hagen*
**Re: Arithmetic on strings, ***Roberto Ierusalimschy*
**Re: Arithmetic on strings, ***Rena*
**Re: Arithmetic on strings, ***Javier Guerra Giraldez*