up previous next
1.10.2 Recent changes in the CoCoA-5 language
There are a few changes in the language even from the first versions of CoCoA-5.

The operator Not has been replaced by the function not(...) .

Example
/*5.0.9*/ If Not X IsIn L Then ... EndIf;
/*5.1.0*/ If not(X IsIn L) Then ... EndIf;
The anonymous function called lambda is now called func .

Example
/*5.0.9*/  square := Lambda(x) Return x^2; EndLambda;
/*5.1.0*/  square := Func(x) Return x^2; EndFunc;