Dear Lyle,

On 28.07.2010, at 18:11, Lyle Kopnicky wrote:
Yes, but will that work in a standalone .ozf file?

Sorry, I don't understand your question. Anyway, you could have a function inside a functor and that function returns a functor. The outer functor could be compiled into an .ozf file. In principle, you could even pickle your function and save that as an .ozf file.

Best,
Torsten


On Tue, Jul 27, 2010 at 3:26 PM, Torsten Anders <[email protected] > wrote:
Dear Lyle,

you could write a (normal) function that creates and returns a functor -- the functor syntax is nestable and thus can also be wrapped in a function call. Arguments to the function can then be used within the function definition.

Hope this helps.

Best wishes,
Torsten

<ATT00001..txt>

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

Reply via email to