[CM] Sprouting processes from sequences?

Larry Troxler lt@westnet.com
Thu, 23 Jan 2003 20:08:28 -0500


Rick Taube wrote:
> 
> actually, as i look at it i realize you should not use enqueue - just call schedule-object recursivly instead. that way the stuff you are adding will get initialized correctly no matter what it is.
> 
> (defmethod schedule-object ((obj arpeggio) start)
>   (let ((add (create-arpeggio-objects obj)))
>      ;; add stuff to queue but not self.
>      (dolist (a add)
>        (schedule-object a start ))))
> 

Ok, looking at the defmethods for schedule-object I think I understand
what's going on.

I'll give this a try - thanks!

Larry Troxler