Re: for Iteration bug

From: <wh_at_icparc.ic.ac.uk>
Date: Wed 02 Mar 2005 10:29:26 PM GMT
Message-ID: <20050302222926.GA13139@tempest.icparc.ic.ac.uk>
On Thu, Mar 03, 2005 at 08:42:34AM +1100, Mark Wallace wrote:
> Hi,
> In ECLiPSe Version 5.8 #78 (and earlier ECLiPSe releases), the following 
> goal fails to halt:
> ?- ( for(I,1,2), for(J,2,4) do writeln(I-J) )

Indeed.  :(  The same problem affects the count, multifor and foreachindex
specifiers; foreacharg won't run forever but it still does the wrong thing,
giving an out of range error instead of failing when it goes too far.

We'll look into it.

Thanks,
Warwick
Received on Wed Mar 02 22:30:09 2005

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:24 PM GMT GMT