[plt-scheme] Interrupting a Computation

From: Richard Cleis (rcleis at mac.com)
Date: Wed Mar 24 21:09:21 EST 2004

I copied and pasted your program on my G4 Laptop; break works fine. Are 
you using 206p1?

rac


On Mar 24, 2004, at 1:41 PM, Alexandre Bergel wrote:

>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Hello,
>
> This is my first mail on this mailing list. Please, let me know if it 
> is not appropriate to submit some report related strange behavior of 
> DrScheme.
>
> Often I simply cannot stop a computation. The Break button does not 
> seem to respond when I click on it when performing computation such 
> as:
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> (define (iota a b)
>   (if (= a b)
>     (cons b '()) ; which is absolutely equivalent to (list b)
>     (cons a (iota (+ a 1) b))))
> (define limit 10000000)
> (define notToBedisplayed (time (iota (- limit) limit)))
>
> (define (iota n m)
>   (if (<= n m)
>       (append (list n) (iota (+ n 1) m))
>       () ))
>
> (define notToBedisplayed (time (iota (- limit) limit)))
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> I find that really annoying because I need to really kill the 
> process...
>
> I use a MacOSX laptop G4 and 512Mo of RAM.
>
> Regards,
> Alexandre
>
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.iam.unibe.ch/~bergel
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



Posted on the users mailing list.