Project

General

Profile

Feature #375

allow single function call in "use" : e.g. "Use NewFractionField(R);"

Added by Anna Maria Bigatti almost 11 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Parser/Interpreter
Target version:
Start date:
18 Jun 2013
Due date:
% Done:

0%

Estimated time:

Description

After "use" the interpreter expectes the special poly ring constructor, such as QQ[x,y], with the unconventional meaning of the square brackets and interpretation of, x and y.
In this context round brackets are only allowed for writing ZZ/(3).
Now, whereas in general it is indeed ambiguous at parsing level, as in

Use NewQuotientRing(R,I)[X];  -- the ring R/I[X]?
Use ListOfRings(A,B)[n];  -- the n-th element in the list?
Use Func(A)[w]; -- ????

a single function call is not, as in
Use NewFractionField(R);

It would be very handy. How difficult is it to implement?


Related issues

Related to CoCoA-5 - Feature #657: use command, ring syntax, RingOfNew2015-01-20

History

#1 Updated by John Abbott about 10 years ago

  • Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14

#2 Updated by John Abbott over 9 years ago

  • Target version changed from CoCoA-5.1.1 Seoul14 to CoCoA-5.?.?

#3 Updated by John Abbott over 3 years ago

  • Related to Feature #657: use command, ring syntax, RingOf added

Also available in: Atom PDF