Design #363
Colon operator, 2nd arg
Start date:
03 Jun 2013
Due date:
% Done:
0%
Estimated time:
Description
Currently CoCoA-5 accepts syntactically the following input
A:-B;
which is interpreted as
A:(-B);
which is not what I wantedOf course, I had meant to type
A:=B;
but erred.
I suggest that the only valid 2nd args for the colon operator be
- a variable (possibly indexed) e.g.
I:J
orI:J[2]
- a bracketed expression e.g.
I:(J1+J2)
- a function call e.g.
I:ideal(x,y)
Comments? Ideas?
History
#1 Updated by Anna Maria Bigatti about 11 years ago
- Category set to Incomplete function
#2 Updated by Anna Maria Bigatti over 10 years ago
- Target version set to CoCoA-5.1.0 Easter14
#3 Updated by John Abbott about 10 years ago
- Category changed from Incomplete function to Parser/Interpreter
- Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.?.?