[cells-devel] How to delay evaluation of defobserver?

Josip Gracin gracin at tel.fer.hr
Wed May 9 21:03:58 UTC 2007


Josip Gracin wrote:
> and it worked great.  However, I also have some observers defined with 
> defobserver and I'd like them to be lazily evaluated because they depend 
> on some not-yet-created instances.  Is there a way to do this?

Of course.  Just define the observers after you've created all the 
instances.  Oh well...

This does make the code layout uglier because I have to move all the 
defobservers to some file which will be loaded after all other files. 
Is there a better way to organize this?



More information about the cells-devel mailing list