Hi! As a new OZ 'wannabe', I am reading the different tutorials for OZ,
and
while trying to do the first example of the Application programming
tutorial, I
have come to the following problem:
[EMAIL PROTECTED]:~$ ozc -c Webget.oz -o Webget.oza Mozart Compiler 1.3.1
(20050914) playing Oz 3
%%% feeding file Webget.oz
%********************** static analysis error *******************
%**
%** illegal arity in application
%**
%** Arity found: 1
%** Expected: 0
%** Application (names): {Copy _}
%** Application (values): {<P/0> _<optimized>}
%** in file "./Webget.oz", line 27, column 2
%** ------------------ rejected (1 error)
[EMAIL PROTECTED]:~$
I have found that replacing the definition of proc {Copy} ... to proc
{Copy $}
does fix this problem.
I am not sure if it should be correctly run with proc {Copy} or if the
tutorial
should be changed. Also, a brief note advising against trying to
evaluate inside
OPI would be a good idea.
--
http://www.fastmail.fm - Accessible with your email software
or over the web
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users