lua-users home
lua-l archive

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


On Thu, Mar 07, 2013 at 12:53:04PM -0300, Luiz Henrique de Figueiredo wrote:
> > I'd prefer to see ¬= myself.  Makes more sense to me than ~= and != both.
> 
> Since ¬ is not ASCII, we opted for ~ . In logic, both ¬ and ~ are used
> for "not": http://en.wikipedia.org/wiki/Negation#Notation

Haskell uses /= in an attempt to make it look a little more like a ≠.  A
language I used a bit on a uni course used == for equality and =/= for
inequality.

I *like* Lua's ~= and hardly think it's a problem for people much.

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 3CCE BABE 206C 3B69