Switch from (%8sync (%run)) to just (%8sync) or (%8sync-run)
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 12 Dec 2015 00:41:15 +0000 (18:41 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 12 Dec 2015 00:41:15 +0000 (18:41 -0600)
commit40c22324febda345a3a8b50fe9293b2f29ee43d4
tree648e49ea38231d7599e982fe08aacc802be94449
parent6866b9405a85d2722fac52df350f74830b144d03
Switch from (%8sync (%run)) to just (%8sync) or (%8sync-run)

This is a major overhaul inspired by the fact that (%8sync-port) never
worked (or at least not since error propagation), because the error
resolution code in (%8sync) was specific to (%run).

* 8sync/agenda.scm (%run, %run-at, %run-delay, %port-request)
  (%port-remove-request): Removed variables.
  (%8sync, %8sync-run, %8sync-run-at, %8sync-run-delay)
  (%8sync-port, %8sync-port-remove): Updated to new pattern.
  (%run-with-return, %8sync-immediate): Rename.
* 8sync/systems/irc.scm (make-basic-irc-handler):
  Update from %8sync-run to %8sync
* tests/test-agenda.scm (run-in-fake-agenda): new helper macro
  (test-%run-and-friends): Updated to work with run-in-fake-agenda,
    and upated several calls
  (talk-about-the-zoo, indirection-remote-func-breaks): Updated
8sync/agenda.scm
8sync/systems/irc.scm
tests/test-agenda.scm