> 
> 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


current 'output' from stream.spad.pamphlet should go away.  It
is unused by the library and of little use to end user.  It makes
sense to provide function computing apropriate OutputForm, but
I would use different name (other 'output' functions do print output).
Maybe 'showElements' in analogy to 'showAllElements' already present
in stream.spad.pamphlet?

-- 
                              Waldek Hebisch
[email protected] 

-- 
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.

Reply via email to