So... why is the public interface to the slot indexes limited to the get-instance-by-* methods?

I find I'm writing routines like this:

 (defun map-over-unique-values-of-slot (function class-name slot)
  (ele::with-inverted-cursor (cur (find-class class-name) slot)
    (loop
        for count from 0
        do
        (multiple-value-bind (ok? value) (cursor-next-nodup cur)
          (unless ok? (return))
          (funcall function value)))))

But I note that with-inverted-cursor is private.

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to