actors: Update comments on addresses.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 9 Jan 2017 17:17:38 +0000 (11:17 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 9 Jan 2017 17:17:51 +0000 (11:17 -0600)
* 8sync/actors.scm: Updated comments on addresses.

8sync/actors.scm

index 0c50446d8c1a4ac9b8aaec5328247edd9ef8f4da..869d4ad699a52f7b70ce5319352760dcd925c2b4 100644 (file)
@@ -342,22 +342,9 @@ to come after class definition."
                          (*cleanup* (const #f)))
            #:allocation #:each-subclass))
 
-;;; So these are the nicer representations of addresses.
-;;; However, they don't serialize so easily with scheme read/write, so we're
-;;; using the simpler cons cell version below for now.
-
-;; (define-record-type <address>
-;;   (make-address actor-id hive-id)  ; @@: Do we want the trailing -id?
-;;   address?
-;;   (actor-id address-actor-id)
-;;   (hive-id address-hive-id))
-;;
-;; (set-record-type-printer!
-;;  <address>
-;;  (lambda (record port)
-;;    (format port "<address: ~s@~s>"
-;;            (address-actor-id record) (address-hive-id record))))
-;;
+;;; Addresses are vectors where the first part is the actor-id and
+;;; the second part is the hive-id.  This works well enough... they
+;;; look decent being pretty-printed.
 
 (define (make-address actor-id hive-id)
   (vector actor-id hive-id))