<br><br><div><span class="gmail_quote">On 9/11/06, <b class="gmail_sendername">Frank Goenninger</b> <<a href="mailto:frgo@mac.com">frgo@mac.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Am 11.09.2006 um 18:12 schrieb Ken Tilton:<br><br>> OK, two prospects: first, move the lazy attribute to the root Cell<br>> class so input Cells can be lazy.<br><br>Good. I'd buy in to this.<br><br>> Hmmm, does this mean we should make it a slot attribute?
<br><br>Yes, IMHO.</blockquote><div><br>It is an interesting question because one can achieve the same end by being consistent with the Cell spec itself (and that is not too onerous, I think). Then the question is, why add an unnecessary restriction? OTOH, when would one vary the laziness of some attribute? Maybe wait for more experience. Hopefully tfb will have some good input.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Anyway, now here is the real interesting change I am looking at:<br>><br>
> The domain is Cells with lazy attributes of t, :always, or :once-<br>> asked.<br>><br>> Currently, such lazy Cells, once they do get recalculated on being<br>> queried, propagate immediately to callers aka dependents. And have
<br>> their observers invoked.<br>><br>> The proposed change is not to propagate to callers, but to still<br>> invoke observers. I think observers cannot be very observant if<br>> they are not notified of changes as they happen.*
<br>><br>> Comments? Question?<br><br>I'd go along the principle that a cell should propagate the fact of<br>being queried or changed asap. </blockquote><div><br>Note however the clash with "ASAP" and lazy. :)
<br><br><br>The problem arises at the boundary of eager and lazy cells, and then the question is "what do we mean by lazy?" Just lazy to change, or also lazy to change others? I might author an eager Cell with a rule that reads a lazy Cell and be totally OK with its laziness, where I mean by "totally": I will read you when I have to based on other things changing (or me being read again).
<br></div><br>btw, I should have mentioned that one obvious option is to simply make this a new attribute or variant of the lazy attribute, maybe "super-lazy".<br><br>kt<br></div><br>