I think this is a little prettier:

(1) -> _<_< (x,y) == hconcat(x,y)$OutputForm
                                                              Type: Void

(2) -> for n in 10..30 repeat output(n << " = "::Symbol << factor(2^n-1))

Here, once the concept of << is understood, the only obscure notation
is probably

  " = "::Symbol

which is just a way to avoid printing the quotation marks " around the string.

Have you tried

(6) -> for n in 10..13 repeat output(n << = << factor(2^n-1))
   10=3 11 31
   11=23 89
       2
   12=3 5 7 13
   13=8191

Well... the spaces around = are missing... one cannot have everything.

Ralf

PS: I still don't like it. There are hidden coercions to OuputForm.



_______________________________________________
Axiom-mail mailing list
Axiom-mail@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-mail

Reply via email to