[Aldor-l] Problem with extending SparseUnivariatePolynomial0

Ralf Hemmecke ralf at hemmecke.de
Thu Mar 23 08:30:57 EST 2006


Hmm, the only difference is in the arguments. In the ALGEBRA sources it 
is "avar" instead of "var". But a modification does not help.

I've also tried with "-q1 -DDEBUG -lalgebrad -laldord", because 
sometimes this works while the usual compile fails (compiler bug).

Your case is even worse. I cannot find an error in your source so it 
looks like a compiler bug to me. Please report it at aldor.org.

Ralf

On 03/23/2006 01:13 PM, W Naylor wrote:
> Hi,
> 
> I find that I have problems with extending the domains 
> SparseUnivariatePolynomial0 and UnivariateMonomial.
> If I compile a file tst.as containing:
> 
> --------------------------------------
> #include "algebra"
> 
> extend SparseUnivariatePolynomial0(R:Join(ArithmeticType, ExpressionType),
>         var:Symbol == new()):with {
>   foo : String -> String
> } == add {
>   foo(s:String):String == s
> }



More information about the Aldor-l mailing list