Bill Page wrote:
>
> Maybe enough of this "interpreter magic" is in the 'form2String' function.
>
> (1) -> )r /home/wspage/typeof
>
> typeof(t:Any):OutputForm ==
> if #(dom t)>1 then
> hconcat(destruct form2String(dom t)$Lisp :: List OutputForm)
> else
> form2String(dom t)$Lisp
Enough for what? You did not say what you really want to do.
It seems that what you want is textual representation of
FriCAS type. But what do you want to do with such representation?
What 'dom' gives you via Lisp printing routines gives you
textual representation, which AFAICS is faithful, that is
the type can be reconstructed from the text.
--
Waldek Hebisch
--
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 https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.