agenda: When re-invoking a continuation at the agenda, don't wrap in a catch.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 28 Dec 2016 17:49:05 +0000 (11:49 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 28 Dec 2016 17:49:05 +0000 (11:49 -0600)
commitb631d525422b859d5720c5216eb40216eb9b15e9
tree2f0033fe5c94c66e0632beaf9a0b64cea0025b76
parent8f95d94e4963d0c61a9435a078f2b6496e31c7cf
agenda: When re-invoking a continuation at the agenda, don't wrap in a catch.

* 8sync/agenda.scm (<kontinue>): Add new record type which just wraps a
delimited continuation.
(8sync, 8sleep, 8yield): Wrap continuations in kontinue.
(agenda-run-once!): If "kontinue?", just resume the continuation without
catching errors (it already has an error handler!).
8sync/agenda.scm