[clean-list] Re: Class is not working
Ronny Wichers Schreur
ronny@cs.kun.nl
Fri, 11 Jan 2002 10:09:14 +0100
Willer wrote (to the Clean Discussion List):
> I've installed the Clean 2.0 version and I tried to compile a program
> that uses Clas_07 library but it didn't work. It returns six messages:
> ArrayElem undefined. I saw that in the new _SystemArray.dcl, the class
> ArrayElem is missing. What should I do? Maybe should I change the types
> in Clas_07? What types should I put it instead of ArrayElem?
See p.11 "Differences in the Type System" and p.52 section 4.4 "Arrays" of the
Clean 2.0 reference manual.
For example, change
instance + {# a} | + , ArrayElem a // 1.3
to
instance + {# a} | + a & Array {#} a // 2.0
Cheers,
Ronny Wichers Schreur