On Wed, Nov 29, 2023 at 10:05:41AM +0100, Ralf Hemmecke wrote:
> Commit 92d33b9bf046eb33c00d6614cbd3bc822732714c failed with the build of
> libaldor.al. The problem seems to be the function name Pi in
> MathematicalSymbols.
> 
> then
> 
> )lisp (|makeAxExportForm| "UnusedArgument" (list '|MathematicalSymbols|))
> 
> results in
<snip>
> 
> axOpTran [(|Pi|)]
> 
>    >> Error detected within library code:
>    bad op name
> 
> 
> Well, there is certainly a reason why |Pi| gives these extra parentheses,
> but I do not know what to do here. My guess is that the other problem will
> be |Sigma|. Perhaps it interferes with operators that we already have for
> OutputForm. I have, however no simple idea how to trace this further.

This is a name clash: Pi is a type and for that reasons gets parentheses
around.   Interpreter somewhat copes with this:

(7) -> )expose MATHSYM
(7) -> Pi             

   (7)  Pi
                                                                   Type: Type
(8) -> Pi()

   (8)  Π
                                                                 Type: Symbol
but this is really not supported and may cause trouble in many
places.

So we need to rename something.  Either type Pi to say HackPi or
function Pi to say Pi_sym.  Probably the first, so Pi as type
name is quite intrusive.

-- 
                              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/ZWd0S0CVrQetyuoP%40fricas.org.

Reply via email to