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
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-
2 matches
Mail list logo