I recently tried to upgrade from xcas 1.4.9-59 to xcas 1.5.0-21. It broke sage tests because of a change in the display of instruction sequences:
In giac 1.4.9-59
Code : Tout sélectionner
0>> f(x) := { print(x); 2*x; }
(x)->{
print(x);
2*x;
}
1>> f(2)
x:2
4
2>> norm(f(2))
x:2
4
In giac 1.5.0-21
Code : Tout sélectionner
0>> f(x) := { print(x); 2*x; }
(x)->[print(x),2*x]
1>> f(2)
x:2
4
2>> norm(f(2))
x:2
4
Is this change intended (in which case sage must be fixed) or is it a "bug" in giac ?
Reproduced on NixOS 19.03-pre 7c73f53d836af32624468e8de7730be1f033667c with the exact same libraries for both versions of xcas.
Thanks in advance