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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bc4137777a63bff X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!newsfeed.freenet.de!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Tue, 02 Aug 2005 16:26:42 +0200 From: Georg Bauhaus Organization: future apps GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Help needed for ada package References: <1122305318.728942.304120@f14g2000cwb.googlegroups.com> <2OudnZo-iL1aN3jfRVn-iQ@comcast.com> <1122475184.849564.159870@g44g2000cwa.googlegroups.com> <1122547648.069514.63520@g14g2000cwa.googlegroups.com> <1122980923.842598.181310@g49g2000cwa.googlegroups.com> <42ef619c$0$6984$9b4e6d93@newsread2.arcor-online.net> <1122986293.760710.320180@g44g2000cwa.googlegroups.com> In-Reply-To: <1122986293.760710.320180@g44g2000cwa.googlegroups.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <42ef829c$0$11744$9b4e6d93@newsread4.arcor-online.net> NNTP-Posting-Date: 02 Aug 2005 16:26:36 MEST NNTP-Posting-Host: ce526904.newsread4.arcor-online.net X-Trace: DXC=8QSNl8kNGA5:=P9Ihe`B8@Z?dZ]MOid5 X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:3898 Date: 2005-08-02T16:26:36+02:00 List-Id: strictly_mk@hotmail.com wrote: > I'm a little confused with the generic part though - i don't know how > to manipulate this bit. generic type T is {something}; package Pack is -- refer to T is if it were a known type. -- What you know about the type here is -- expressed in {something}. For example, -- when {something} is replaced by "range <>" -- then you can use T inside Pack as if it were a -- signed integer type. When you make an instance -- of Pack, use some subtype of a signed integer -- type, like Natural, etc..