Jill Nickerson wrote: > > Hi, > > I downloaded the Solaris version of Eclipse. Eclipse doesn't seem to be > loading the apply_macros > libraries correctly. So, I'm not getting the predicates checklist, > selectlist and maplist. Is this library something that comes with the > standard version of Eclipse? > > Thanks, > Jill I presume that you get this error message: [eclipse 3]: maplist(+(2),[1,2,3],L). Ambiguous import of maplist / 3 from [eclipse_language, apply_macros] in module eclipse It means that there are two alternative definitions of the maplist/3 predicate, and you have to say which one you want. You can do that as follows: [eclipse 4]: import maplist / 3 from apply_macros. yes. [eclipse 5]: maplist(+(2),[1,2,3],L). *** Creating auxiliary predicate 'maplist(+(2))' / 2 L = [3, 4, 5] yes. These issues are discussed in the User Manual chapter about the module system. Best regards, -- Joachim Schimpf / phone: +44 20 7594 8187 IC-Parc, Imperial College / mailto:J.Schimpf@ic.ac.uk London SW7 2AZ, UK / http://www.icparc.ic.ac.uk/eclipseReceived on Fri Apr 06 16:53:03 2001
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:05 PM GMT GMT