From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cb4682daf43a5830 X-Google-Attributes: gid103376,public From: =?iso-8859-1?Q?Jos=E9=20Mar=EDa=20=C1lvarez?= Palomo Subject: Re: Type problem, any suggestion? Date: 1999/09/22 Message-ID: <37E8C094.36631D5F@lcc.uma.es>#1/1 X-Deja-AN: 528198906 Content-Transfer-Encoding: 7bit References: <37E2764A.2B0AA8C7@lcc.uma.es> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@cica.es X-Trace: mercurio.cica.es 938000347 873 150.214.108.123 (22 Sep 1999 11:39:07 GMT) Organization: C.I.C.A. Mime-Version: 1.0 NNTP-Posting-Date: 22 Sep 1999 11:39:07 GMT Newsgroups: comp.lang.ada Date: 1999-09-22T11:39:07+00:00 List-Id: Dear Simon, first of all, thank you very much for your fast, kind and accurate answer. This is the first time I posted something on a newsgroup and I am very glad ofthe results. Three people have answered my request and solve my problem in 24 hours. >> It's not obvious what you were trying to do, so it's hard to offer >> more help. However, you might try instantiating gen_dat only once; I am an assistant professor at the University of Malaga and I am trying to change the languaje programming in a Abstract Data Type subject from Modula 2 to a more suitable and modern language (the discussion now is between Ada and Java). So I am coding in Ada the exercises proposed to the students. This exercise had to implement a generic ADT (for example a stack) and to implement a procedure library to widen the ADT functinality (for example, a procedure to know the length of a stack). I think your solution it is a very smart way to do it, but I am afraid it will be difficult to make students understand it. Anayway, thank you very much again -- Jose M. Alvarez Palomo Dpto. Lenguajes y C. Computacion. Tfno.: 34 952 132750 Complejo Politecnico. Campus de Teatinos. Fax.: 34 952 131397 E.T.S.I. Telecomunicaciones. Email: alvarezp@lcc.uma.es Univ. de Malaga. 29071. Malaga. Spain. --