On 10/18/23 08:05, Waldek Hebisch wrote:
Currently coercion of types to OutputForm is fake: it uses
an interpreter function to produce a string and this string
serves as OutputForm. This is problematic because:
- resulting OutputForm has no structure
Is there a way to get such OutputForm object from interpreter?
ModularAlgebraicGcd(PrimitiveArray(U32Vector),Record(svz: Symbol,sm: U32Vecto
r,sp: Integer),ModularAlgebraicGcdTools2)
(that is single string which is broken between lines by output
formatter) we get:
ModularAlgebraicGcd
PrimitiveArray(U32Vector)
,
Record(svz:Symbol,sm:U32Vector,sp:Integer)
,
ModularAlgebraicGcdTools2
which is default handling of compound forms that are too big to fit on
a single line.
About this multi-line output, I wonder if there's a way to get one line
string, so that it can be copy-pasted to recreate that type.
(By using Format1D?)
- Qian
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/e5f9dc76-74b4-4b7e-9b29-415d523b3fac%40gmail.com.