axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Axisp news


From: Ralf Hemmecke
Subject: Re: [Axiom-developer] Axisp news
Date: Tue, 26 Jun 2007 13:46:57 +0200
User-agent: Thunderbird 2.0.0.4 (X11/20070604)

Yes, constants may contain mutable data.  But that's just as in other
languages.  It is true that you can say

l: List Integer == [1,2,3];
l.1 := 4;

but in my opinion, you are not really modifying l, but rather l.1, and that's a
different story.

And I would even need mutable constants. I want to define a powerseries

y = 1 + x * y*y

as a constant. The only thing I want a user then to do is to ask for coefficients. But in order to provide such an infinite constant I need a way to compute it without having the compiler run infinitely long.

Ralf





reply via email to

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