up previous next
1.9.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(...) .

/*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 .

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