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,f7a9613bbc2bd8c9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-13 18:01:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!diablo.theplanet.net!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Generic default parameters Date: Mon, 13 May 2002 10:06:36 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3CDC19C9.4050003@mail.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1021298798 6681 136.170.200.133 (13 May 2002 14:06:38 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 13 May 2002 14:06:38 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:23988 Date: 2002-05-13T14:06:38+00:00 List-Id: Yes, but why wouldn't it be useful to do the same with types? Used to be we had procedures with parameters where you supplied values. Then we advanced to generic procedures where you supply types. So if its useful to specify default values for regular parameters, why wouldn't it be useful to specify default values for generic parameters? MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Preben Randhol" wrote in message news:slrnadq3ae.1cf.randhol+abuse@kiuk0156.chembio.ntnu.no... > On Fri, 10 May 2002 15:04:41 -0400, Hyman Rosen wrote: > > Preben Randhol wrote: > >> I actually like that Ada95 doesn't allow a default value, and I don't > >> understand what the gain is in a default value. > > > > Ada allows default values in other contexts. > > Default values yes, but arn't you talking about default types? > > Preben