I see
if S has SetCategory then
output(n, x) ==
(not(n>0))or empty? x => void()
mathPrint(frst(x)::OUT)$Lisp
output(n-1, rst x)
in mathPrint in stream.spad.pamphlet.
https://github.com/hemmecke/fricas-svn/blob/master/src/algebra/stream.spad.pamphlet#L1069
However, I couldn't find any usage of that function in the library.
Of course, I don't like the mathPrint there. Wouldn't it be better
instead of
output : (I, %) -> Void
to have
output : (I, %) -> OutputForm
and define
output(n: Integer, x: %): OutputForm ==
via (a modified version of) streamCountCoerce.
https://github.com/hemmecke/fricas-svn/blob/master/src/algebra/stream.spad.pamphlet#L697
Ralf
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.