Main.ozf
functor and Data.ozf
data functor share the same
base URI, we can simply write:
Main.oz
functor
import
Application Pickle System
Data at 'Data.ozf'
define
{System.show Data.info}
{Application.exit 0}
end
Data.oz
functor export Info define Info = info('Frank' # 23 # true 'Mary' # 26 # true 'John' # 20 # false) end