Project

General

Profile

Feature #1509

Updated by John Abbott over 3 years ago

In CoCoA-5 we have @RingElems@ and @RingElemList@.
The second function can produce an empty list (from input @"[]"@).
What should @RingElems@ do when passed an empty string (or one full of whitespace)?

Currently it gives an unhelpful error mesg:
<pre>
--> ERROR: Unexpected ''
--> [CoCoALib] ReadFactor
--> RingElems(R," ");
--> ^^^^^^^^^^^^^^^^^
</pre>
mesg.

Back