Re: [racket] prompts and aborts

2010-09-06 Thread Matthew Flatt
The default prompt handler is (lambda (abort-thunk) (call-with-continuation-prompt abort-thunk prompt-tag #f)) When the `abort-thunk' is `(lambda () (f2))', as in `f2', then the prompts stack up, because `f2' installs a prompt as well. Here's an infinite loop that uses the default prompt ha

[racket] prompts and aborts

2010-09-06 Thread Danny Yoo
I'm a little confused by the tail behavior I'm seeing in call-with-continuation-prompt and abort-current-continuation. Here's my test code: ; #lang racket (provide (all-defined-out)) (define (f) (call-