Project

General

Profile

Design #363

Colon operator, 2nd arg

Added by John Abbott almost 11 years ago. Updated about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Parser/Interpreter
Target version:
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 wanted
Of 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 or I: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 almost 11 years ago

  • Category set to Incomplete function

#2 Updated by Anna Maria Bigatti about 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.?.?

Also available in: Atom PDF