It was reported that ')display op groebner' and similar commands
cause sbcl errors instead of giving result (issues 152).
The attached patch at least partially works around the problem: it
catches frequent offender before it can cause trouble. It is
possible to catch more cases, I am not sure if it is worth the
effort.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/ZcLdw8ZKeWhn6ELK%40fricas.org.
--- ../trunk.pp6/src/interp/format.boot 2024-01-15 00:59:49.741799769 +0000
+++ format.boot 2024-02-06 23:48:17.053723987 +0000
@@ -478,6 +478,9 @@
x is ["QUOTE", y] =>
m = $Symbol and SYMBOLP(y) => y
form2String1 x
+ -- catch things like # D
+ (m = ["NonNegativeInteger"] or m = ["Integer"]) and not INTEGERP(x) =>
+ form2String1 x
isValidType(m) and PAIRP(m) and
(get_database(first(m), 'CONSTRUCTORKIND) = 'domain) =>
(x' := coerceInteractive(objNewWrap(x,m),$OutputForm)) =>