Re: [racket-users] Restarting loop from exception handler breaks with-handlers, Ctrl+C?

2021-10-07 Thread 'William J. Bowman' via Racket Users
Ah of course, thanks! On Thu, Oct 07, 2021 at 05:52:55PM -0700, Sorawee Porncharoenwase wrote: > Typo: with-handlers* > > On Thu, Oct 7, 2021 at 5:52 PM Sorawee Porncharoenwase < > sorawee.pw...@gmail.com> wrote: > > > I think you want with-handler*? According to the docs: > > > >

Re: [racket-users] Restarting loop from exception handler breaks with-handlers, Ctrl+C?

2021-10-07 Thread Sorawee Porncharoenwase
Typo: with-handlers* On Thu, Oct 7, 2021 at 5:52 PM Sorawee Porncharoenwase < sorawee.pw...@gmail.com> wrote: > I think you want with-handler*? According to the docs: > > with-handlers: > > Before any predicate or handler procedure is invoked, the continuation of > the entire with-handlers >

Re: [racket-users] Restarting loop from exception handler breaks with-handlers, Ctrl+C?

2021-10-07 Thread Sorawee Porncharoenwase
I think you want with-handler*? According to the docs: with-handlers: Before any predicate or handler procedure is invoked, the continuation of the entire with-handlers

[racket-users] Restarting loop from exception handler breaks with-handlers, Ctrl+C?

2021-10-07 Thread 'William J. Bowman' via Racket Users
I have a little model of a server below. The server handles all exceptions, and restarts itself after some errors. It also handles break?, to actually exit when requested. While this server is running, if I press Ctrl+C before `(error 'foo)` is handled, the server exits correctly with 120.