lua-users home
lua-l archive

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


On Jul 9, 2014, at 5:36 PM, Michel Martens <soveran@gmail.com> wrote:

> On 9 July 2014 17:13, Tim Hill <drtimhill@gmail.com> wrote:
>> Over the years I’ve used .NE. (FORTRAN, yes with the dots), <> with BASIC and dialects, != with C and dialects etc etc. I have no real trouble switching, though I make the odd typo. I’m a little sympathetic to those who point out that tilde is used for “approximate” in many math environments, so it reads a little oddly if you are aware of that. But I don’t think it’s a big deal.
> 
> I'm lucky because my default shell is rc from plan9, where ~ is the
> equality operator :-)

I think something in my brain just popped, thanks! ;)

So we have Lua and Matlab's ~= and `rc` from Plan9 using ~ for equality (why, oh why?!).

What other strange operators have been spotted in the wild?

~pmd