On Sat, Dec 17, 2005 at 03:33:31PM -0700, Maximilian Wilson wrote:
> Can anyone tell me how the -e option of the oz compiler is useful? It
> doesn't seem to have access to any of the OPI pre-loaded modules, like

Hint: try ozc -l modulename

> % in file foo.oz
> local
> functor F
> import System Application
> define
>    {System.show didit}
>    {Application.exit 0}
> end
> in
>    [_] = {Module.link [F]}

[_] = {Module.apply [F]} % this instead

> end
> 
> % Now, try to feed it to the compiler
> bash-3.00$ ozc -e foo.oz

$ ozc -l Module -e foo.oz
didit

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
  • ozc -e Maximilian Wilson
    • Re: ozc -e Kari Pahula

Reply via email to