|
From: | Alasdair McAndrew |
Subject: | Re: [fricas-devel] Re: [Axiom-mail] A simple question |
Date: | Sun, 3 Feb 2008 07:49:10 +1100 |
On 2/2/08, Alasdair McAndrew <address@hidden> wrote:Although this apparently produces the effect that you wanted I think
> Actually,
>
> for n in 10..30 repeat output [n::String, factor(2^n-1)]
>
> is probably the simplest.
>
it is also a very poor notation to achieve this effect. To understand
why it is a bad choice you need to understand how Axiom assigns types
to various objects - this is very complicated and often quite
unexpected - even when it works. The problem is finding a good way to
write this that always works the way you expect.
Regards,
Bill Page.
[Prev in Thread] | Current Thread | [Next in Thread] |