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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4dcea36626746792 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-14 08:42:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!rip!news.webusenet.com!cox.net!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-binary.blueyonder.co.uk.POSTED!53ab2750!not-for-mail User-Agent: Microsoft-Entourage/10.1.1.2418 Subject: Re: something I would like to see in ADA 2005 From: Bill Findlay Newsgroups: comp.lang.ada Message-ID: References: <6a90b886.0304100522.2ebf68b2@posting.google.com> <6a90b886.0304140639.4ee1abfb@posting.google.com> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Date: Mon, 14 Apr 2003 16:41:29 +0100 NNTP-Posting-Host: 80.195.75.181 X-Complaints-To: abuse@blueyonder.co.uk X-Trace: news-binary.blueyonder.co.uk 1050334941 80.195.75.181 (Mon, 14 Apr 2003 15:42:21 GMT) NNTP-Posting-Date: Mon, 14 Apr 2003 15:42:21 GMT Organization: blueyonder (post doesn't reflect views of blueyonder) Xref: archiver1.google.com comp.lang.ada:36132 Date: 2003-04-14T16:41:29+01:00 List-Id: On 14/4/03 15:39, in article 6a90b886.0304140639.4ee1abfb@posting.google.com, "Tony Gair" wrote: >> How would tasks help? Task types are no more generic than protected >> types. If you want genericity, you have to wrap it in a package. > > Maybe I can use a generic package, but I would like to declare a > protected type the same way I declare a package or a task. Nothing prevents you. (But I suspect you did not mean what you said.) > > I disagree with the statement that tasks are no more generic than > PO's. > For instance try declaring a generic protected object. Why don't *you* try declaring a generic task? Be sure to let us know how you get on. -- Bill-Findlay chez blue-yonder.co.uk ("-" => "")