Design #476

Review utility of package IO

Added by John Abbott over 4 years ago. Updated 10 months ago.

In Progress
Target version:
Start date:
14 Mar 2014
Due date:
% Done:


Estimated time:
Spent time:


Package io does not do much currently; can we eliminate it?


#1 Updated by Anna Maria Bigatti over 4 years ago

  • Target version set to CoCoA-5.1.0 Easter14

#2 Updated by John Abbott over 4 years ago

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

#3 Updated by Anna Maria Bigatti almost 4 years ago

  • % Done changed from 0 to 10

At the moment it is only exporting format (which I find quite useful).
I updated Format/format and checked the manual.

Another function defined there is StarPrintFold: now StarPrint is no longer needed, but the Fold part can still be useful.

#4 Updated by Anna Maria Bigatti almost 4 years ago

  • Assignee set to Anna Maria Bigatti
  • Priority changed from Normal to Low
  • Target version changed from CoCoA-5.1.1 Seoul14 to CoCoA-5.?.?

I don't think we should eliminate it.
In time, we can see what can be useful and advertized (low priority)

#5 Updated by John Abbott 10 months ago

  • Status changed from New to In Progress

Indeed some form of "folded" printing could be useful for large outputs (especially inside emacs which has problems with long lines).

Currently StarPrintFold does not work, but the manual suggests that it should work.
Anna correctly points out that the fn is not exported from the package, but attempting to call StarPrintFold does indeed produce the suggestion to use the name $io.StarPrintFold

It should not be too hard to revise the package so that StarPrintFold works. I wonder what the name of the fn should be; the Star part is no longer necessary.

Also available in: Atom PDF