Re: [pure-lang-users] Runaway trains
Status: Beta
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2008-08-20 23:04:24
|
John Lunney wrote: > So I entered the following line: > -(a) = -a; I don't understand what you're trying to do there. (a) is just a, so you might just as well write 'loop = loop;' instead. In either case it's a tail-recursive loop which will run forever. > Another time I tried it, Pure just quit with no error. I can't reproduce that, I always get the same expected non-terminating behaviour. Maybe you killed and restarted the interpreter, and forgot to reenter the equation before starting the evaluation? Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |