Ilya Zakharevich on Thu, 1 Nov 2001 15:01:35 -0500 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: pari-2.2.1.alpha released |
On Fri, Oct 26, 2001 at 12:34:04PM +0200, Karim BELABAS wrote: > > Is it desirable to do The Right Thing? make > > > > subst(P, Q, y) > > > > a shortcut for > > > > { subst_poly(pol, from, to) = > > local(t); > > subst(lift(Mod(pol,from-'t)),'t,to) > > } > > Sure. Then there is another feature which is badly missed: subst(a, [x,y], [z,t]). BTW, is there a "better" semantic than doing substitutions left-to-right? Here "better" meaning one or more of "more convenient", "more functionality", "less surprising". Ilya P.S. Unrelated: is there a way to catch err()/error() from GP? Simple API to catch from PARI?