groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <blackd...@gmx.org>
Subject Re: Negative relational operators for Groovy 3
Date Fri, 18 Nov 2016 16:04:38 GMT


On 18.11.2016 15:52, Remi Forax wrote:
>
>
> ----- Mail original -----
>> De: "Graeme Rocher" <graeme.rocher@gmail.com>
>> À: dev@groovy.apache.org
>> Cc: dev@groovy.incubator.apache.org
>> Envoyé: Vendredi 18 Novembre 2016 15:16:04
>> Objet: Re: Negative relational operators for Groovy 3
>
>> In agreement with everyone else here.
>>
>> +1 to !in and !instanceof
>> -1 to everything else
>>
>> Cheers
>
> even !!

and then you can have

assert a != !!a

lol
bye Jochen

Mime
View raw message