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-11 05:49:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!washdc3-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Generic default parameters Date: 11 May 2002 07:49:36 -0600 Organization: LJK Software Message-ID: References: <3CDC19C9.4050003@mail.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1021121379 1789 192.135.80.34 (11 May 2002 12:49:39 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Sat, 11 May 2002 12:49:39 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:23897 Date: 2002-05-11T07:49:36-06:00 List-Id: In article , Preben Randhol writes: > 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? Ada allows passing in types only in the case of generic parameters. It is not identical to passing in values, but is a parallel concept. Likewise, defaulting types that are generic parameters would be a parallel concept.