axiom-mail
[Top][All Lists]
Advanced

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

Re: [fricas-devel] Re: [Axiom-mail] A simple question


From: Bill Page
Subject: Re: [fricas-devel] Re: [Axiom-mail] A simple question
Date: Sat, 2 Feb 2008 12:39:44 -0500

On 2/2/08, Alasdair McAndrew <address@hidden> wrote:
> Actually,
>
> for n in 10..30 repeat output [n::String, factor(2^n-1)]
>
> is probably the simplest.
>

Although this apparently produces the effect that you wanted I think
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.




reply via email to

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