actors; Move message definitions earlier in the file.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 25 Apr 2016 16:39:13 +0000 (11:39 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 25 Apr 2016 16:39:13 +0000 (11:39 -0500)
commitb3a4b6bec6422ef66724fda5bf57f4e2552fe4fc
treed1de8035f19c9ad8646022e3833b034a1dde2c1f
parent9b500027ce5ccca4ae1b67c0e3a7ff595a0e54b6
actors; Move message definitions earlier in the file.

The original positioning would mean that sometimes the accessors would
break in some of the actor/hive methods.  Defining the messages before
any methods make use of them seems to fix the problem.

* 8sync/systems/actors.scm (<message>, message?, make-message-intern)
  (message-id, message-to message-from, message-action, message-body)
  (message-in-reply-to, message-replied, set-message-replied!)
  (message-deferred-reply, set-message-deferred-reply!, make-message)
  (%nothing-provided, message-ref, kwarg-list-to-alist, send-message)
  (send-message-wait, reply-message, reply-message-wait):
  Moved location to earlier in file.
8sync/systems/actors.scm