Maximilian Wilson wrote:

On 3/14/06, Luis Quesada <[EMAIL PROTECTED]> wrote:

Sorry, I meant RecordC.monitorArity.


thread
   for Id in {RecordC.monitorArity T _ }do
      T.Id={CreateBranch Id}
   end
end


Oh! I see. Cool.


Yes, I also find RecordC.monitorArity cool :-)


P.S. Of course, you could give up on using records and use objects or
functions instead. An object O is more than capable of calculating
O(x1) if and only if someone requests it, then caching it for future
use, which is essentially how Robert is trying to use lazy trees. Or
so it seems to me.


What I like of the solution using open records is that it is declarative. So, there is no problem when binding several branches concurrently.

Luis


_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to