Project

General

Profile

Activity

From 20 Jun 2024 to 19 Jul 2024

03 Jul 2024

17:54 CoCoALib Design #427: Error names and error messages (current design)
Anna Maria Bigatti wrote:
> "BLAH must be at least 2 and fit into a long" or "BLAH must be at least 2".
> I think w...
Anna Maria Bigatti
17:14 CoCoALib Design #427: Error names and error messages (current design)
I've changed some more Not into Req.
I removed @ModulusLT2@ because unused.
There is @BadModulus@ ("Modulus must ...
Anna Maria Bigatti
11:17 CoCoALib Feature #92: Error Codes: BadIndex
In *MatrixView* Bad(RC)Index is used to indicate repeated index.
I have removed BadIntedIndex, BadDegIndex, BadCo...
Anna Maria Bigatti

02 Jul 2024

21:45 CoCoALib Feature #92: Error Codes: BadIndex
*@BadIndex@* is fine; while *@IndexOutOfRange@* is slightly more descriptive, it is harder to read and not really any... John Abbott
10:38 CoCoALib Feature #92: Error Codes: BadIndex
Now I'm less inclined to rename "BadIndex".
However, I've just noticed that we have some relatives: e.g. "BadIndetIn...
Anna Maria Bigatti
17:08 CoCoALib Design #427: Error names and error messages (current design)
Changed Not... into
ReqNonNegative, ReqNonNegativeGrading, ReqPositive, ReqPositiveGrading
and quite a few
@CoCo...
Anna Maria Bigatti
17:07 CoCoALib Design #308: Error: ERR::NotNonZero instead of ERR::ZeroRingElem? [--> ReqNonZero]
> > JAA thinks that @LogZero@ should be merged with @NotNonZero@.
done
Anna Maria Bigatti
11:33 CoCoALib Design #308: Error: ERR::NotNonZero instead of ERR::ZeroRingElem? [--> ReqNonZero]
John Abbott wrote:
> All CoCoALib errors which refer to zero are:
> *@BadPwrZero, DivByZero, LogZero, MemPoolZero, ...
Anna Maria Bigatti
11:01 CoCoALib Design #308: Error: ERR::NotNonZero instead of ERR::ZeroRingElem? [--> ReqNonZero]
The current decision is for *ReqNonZero*.
Moreover, similarly as *BadIndex*, I suggest grouping the similar errors a...
Anna Maria Bigatti
10:30 CoCoA-5 Bug #1823 (Feedback): function "insert" should allow appending
Anna Maria Bigatti

01 Jul 2024

19:00 CoCoA-5 Bug #1823: function "insert" should allow appending
The function actually implementing this calls @insertValue@ which calls @insert@ (in @Interpreter.C@).
So I just had...
Anna Maria Bigatti
18:14 CoCoA-5 Bug #1823 (Feedback): function "insert" should allow appending
I was surprised at this -- obviously we haven't used @insert@ much ;-)... Anna Maria Bigatti

27 Jun 2024

21:28 CoCoALib Feature #743: Better errors: give supplementary info about the error
This has been _urgent_ for at least 7 years... oops!
Anna's suggestions in comments 21 and 22 are good (and also K...
John Abbott
21:10 CoCoALib Feature #385: Design new errors using inheritance
I have just read through all the comments above. The suggestion in comment 14 looks to be a very good start -- I can... John Abbott
20:04 CoCoALib Feature #385: Design new errors using inheritance
Has this been _urgent_ for the past 11 years? Oops! John Abbott
20:09 CoCoALib Design #1807 (In Progress): Error codes: "Not..." for "blah must be ..." -- change prefix
Anna proposed this about 3 months ago. We spoke today by phone.
It is reasonable to change the _internal error code...
John Abbott
 

Also available in: Atom