[j-nsp] negation operator in SLAX

Phil Shafer phil at juniper.net
Tue Jul 3 16:32:40 EDT 2018


Timur Maryin writes:
>On 18-Jun-18 20:40, Phil Shafer wrote:
>> "!" and "not" are identical.  The "!" is just syntactic sugar that
>> turns "! x " into "not(x)", as you can see in the code:
>Was it always like this?

Yup.  SLAX is all about syntactic sugar.  Well, mostly, anyway.
There are extension functions and mutable variables also.

Thanks,
 Phil


More information about the juniper-nsp mailing list