Project

General

Profile

Design #412

intersection (all lower case)

Added by John Abbott over 4 years ago. Updated over 3 years ago.

Status:
In Progress
Priority:
Normal
Category:
CoCoA-4 function to be added
Target version:
Start date:
25 Oct 2013
Due date:
% Done:

20%

Estimated time:
4.00 h
Spent time:

Description

CoCoA-5 has Intersection but not intersection.

Should we change the name?

History

#1 Updated by Anna Maria Bigatti over 4 years ago

  • Category set to CoCoA-4 function to be added
  • Target version set to CoCoA-5.1.0 Easter14

In CoCoALib we have intersect, so we have the same name in CoCoA-5.
I set Intersection just for backward compatibility, so that's the reason why it is just in the capitalized version.
However I have no strong feeling about whether or not to have also intersection.

#2 Updated by John Abbott over 4 years ago

  • Status changed from New to In Progress

CoCoA5 manual is confusing about intersect and Intersection.
Rectify!

#3 Updated by John Abbott almost 4 years ago

  • % Done changed from 0 to 10
  • Estimated time set to 4.00 h

We will discuss the design/names IntersectList intersection etc??

#4 Updated by John Abbott almost 4 years ago

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

#5 Updated by Anna Maria Bigatti over 3 years ago

  • Assignee set to Anna Maria Bigatti
  • Target version changed from CoCoA-5.1.1 Seoul14 to CoCoA-5.?.?
  • % Done changed from 10 to 20

The clean solution would be to have intersect doing what Intersection used to do.
Problem is intersect for IDEAL is implemented (rightly so) in C++, but for LIST (and also caring for the IDEAL case) is implemented in a package (a bit more tedious to do it in Interpreter/BuiltInFunctions).

So implement it in BuiltInFunctions for LIST and clean-up!
But not urgent...

Also available in: Atom PDF