Hi,

I am rather an Oz newbie and I am having a little problem with the Space hierarchy. I have written a function that returns some data (a list of FS constants...) to be used in a search script - I have implemented this function using a dictionary for memoization, because I was hoping to access the desired data inside the search script without being forced to precompute it explicitly beforehand. (Since outside the search script, I dont really know what my args to this function are...)

I am getting an error that states I cannot do Dictionary.put from a local Space.

Wanted to ask you, if redesigning this memoized functions as an Active Service using a port would probably solve the problem?

If this is completely wrong, I would of course be happy as well to get a hint pointing in any other direction. :)

Thanks,

  Kilian Sprotte



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

Reply via email to