login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Submitted by : (unknown) at: 2007-11-17T22:35:54-08:00 (10 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

The second line (which should report syntax error at worse), seems to be generating an infinite loop that exhausts memory.

axiom
g:=[(1,2),(3,4)]

\label{eq1}\left[{\left(1, \: 2 \right)}, \:{\left(3, \: 4 \right)}\right](1)
Type: List Tuple PositiveInteger
axiom
[1 for (a,b) in g]
Unknown type of loop iterator form.

On my system, the following message finally appeared:

   >> System error:
   The storage for CONS is exhausted.
   Currently, 85895 pages are allocated.
   Use ALLOCATE to expand the space.

The Axiom Book (Jenks&Sutor) does not describe this syntax valid. All `for in' discussions are with single variable names -- not structured or pattern matching stuff.

So, I suspect the right answer is a diagnostic.

Status: open => fixed somewhere




  Subject:   Be Bold !!
  ( 13 subscribers )  
Please rate this page: