projects
/
8sync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated actors unit tests.
[8sync.git]
/
8sync
/
rmeta-slot.scm
diff --git
a/8sync/rmeta-slot.scm
b/8sync/rmeta-slot.scm
index 6c4ef6d49b7d21d7a0265c900fb77112a2657765..a9179ba56718492d03e4817f1d9ac942a1b5d031 100644
(file)
--- a/
8sync/rmeta-slot.scm
+++ b/
8sync/rmeta-slot.scm
@@
-21,7
+21,7
@@
#:use-module (srfi srfi-9)
#:use-module (ice-9 match)
#:use-module (srfi srfi-9)
#:use-module (ice-9 match)
- #:export (
wrap
-rmeta-slot
+ #:export (
build
-rmeta-slot
rmeta-slot-table rmeta-slot-cache
maybe-build-rmeta-slot-cache!
class-rmeta-ref))
rmeta-slot-table rmeta-slot-cache
maybe-build-rmeta-slot-cache!
class-rmeta-ref))
@@
-42,7
+42,7
@@
;;; (define-class <kah-lassy> ()
;;; (entries #:allocation #:each-subclass
;;; #:init-thunk
;;; (define-class <kah-lassy> ()
;;; (entries #:allocation #:each-subclass
;;; #:init-thunk
-;;; (
wrap
-rmeta-slot
+;;; (
build
-rmeta-slot
;;; `((foo . "bar")
;;; (baz . "basil")))))
;;;
;;; `((foo . "bar")
;;; (baz . "basil")))))
;;;
@@
-54,7
+54,7
@@
;;; (define-class <sub-lassy> (<kah-lassy>)
;;; (entries #:allocation #:each-subclass
;;; #:init-thunk
;;; (define-class <sub-lassy> (<kah-lassy>)
;;; (entries #:allocation #:each-subclass
;;; #:init-thunk
-;;; (
wrap
-rmeta-slot
+;;; (
build
-rmeta-slot
;;; `((foo . "foo2")
;;; (peanut . "gallery")))))
;;;
;;; `((foo . "foo2")
;;; (peanut . "gallery")))))
;;;
@@
-69,13
+69,9
@@
(table rmeta-slot-table)
(cache rmeta-slot-cache set-rmeta-slot-cache!))
(table rmeta-slot-table)
(cache rmeta-slot-cache set-rmeta-slot-cache!))
-(define (make-rmeta-slot table)
- (%make-rmeta-slot table #f))
-
-(define (wrap-rmeta-slot table)
- "In general, using wrap-rmeta-slot in combination with "
+(define (build-rmeta-slot table)
(lambda ()
(lambda ()
- (
make-rmeta-slot table
)))
+ (
%make-rmeta-slot table #f
)))
;; Immutable and unique
(define %the-nothing (cons '*the* '*nothing*))
;; Immutable and unique
(define %the-nothing (cons '*the* '*nothing*))