axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Expression problems


From: Hans Peter Würmli
Subject: Re: [Axiom-developer] Expression problems
Date: Mon, 7 Nov 2005 21:20:44 +0100
User-agent: KMail/1.7.2

Thank you, Bill.

> >
> > if isPower(x**y) returns [x**y,1] then I would expect
> > isMult(x*y) to return [x*y,1] as the power expression
> > seems to be viewed as (x**y)**1, so one would
> > expect the second expression to be viewed as (x*y)*1.
>
> I agree with you that it is a little inconsistent. What do
> you think would be better: 1) for isPower(x**y) to return
> "failed" or 2) for isMult(x*y) to return 1?
>
Honestly, I wouldn't know, because I know too little about the design 
principles that are implemented (and I just haven't grasped yet).

Cheers, H.P.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]