axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] [#165 stream2.input] (new)


From: anonymous
Subject: [Axiom-developer] [#165 stream2.input] (new)
Date: Sun, 12 Jun 2005 12:09:25 -0500

Changes http://page.axiom-developer.org/zope/mathaction/165Stream2Input/diff
--
---------------------------------------------------------------------
stream2.input.pamphlet
---------------------------------------------------------------------
in general this fixes the problems:

)set functions compile on

but the way axiom is initialized seems to leave something
in a broken state which the set command fixes.

)set streams calculate 10
[j for j in 4.. | j < 10 ] 
does not stop
m==[j for j in 4.. | j < 10 ]
m
causes GCL to exit, CCL to never complete
but
[j for j in 0.. | j < 10 ] 
works! issue seems to be 0 vs 4 in loop index

)set streams calculate 10
u==[i+j for i in (-4)..10 | i < 5 for j in 4.. | j < 10]
u
causes GCL to exit, CCL works
u==[i+j for i in 0..10 | i < 5 for j in 0.. | j < 10]
also fails. issue seems to be end test compile.

)set streams calculate 10
u==[[i+j for i in 0..] for j in 0..]
u
causes GCL to exit, CCL works
issue seems to have something to do with macros
because
[[i+j for i in 0..] for j in 0..]
works. also the sequence
)set fun comp on
v==[[i+j for i in 0..] for j in 0..]
v
works! something appears to be set funny when
axiom starts.

)set streams calculate 10
u(m,n)==[[i*j for j in m..] for i in n..]
u(3,6)
causes GCL to exit, CCL works
but
)set streams calculate 10
[[[i+j+k for i in 0..] for j in 0..] for k in 0..]
works!
[i+j+k for i in 0.. for j in 0.. for k in 0..]
works!!
--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden




reply via email to

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