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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1dd28d5040ded1f8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-08 22:39:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc01.gnilink.net.POSTED!53ab2750!not-for-mail Message-ID: <3CDA0BC4.4090102@mail.com> From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0rc1) Gecko/20020416 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Announce: Grace project site operational References: <3CD88FBD.4070706@telepath.com> <3CD91E31.1060004@telepath.com> <3CD94E63.3050607@mail.com> <4519e058.0205081400.58283a90@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 09 May 2002 05:39:15 GMT NNTP-Posting-Host: 162.83.247.96 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc01.gnilink.net 1020922755 162.83.247.96 (Thu, 09 May 2002 01:39:15 EDT) NNTP-Posting-Date: Thu, 09 May 2002 01:39:15 EDT Xref: archiver1.google.com comp.lang.ada:23754 Date: 2002-05-09T05:39:15+00:00 List-Id: Ted Dennison wrote: > Take a look at the package spec in CVS and see what you think. I'm not sure that I'm qualified to comment on Ada code, but what the heck; on the internet no one knows you're a dog :-) Does Ada let you specify default values for generic parameters? If it did, you could allow a count type and have it default to Natural, which is what you use now. Otherwise, not being an Ada programmer, I wouldn't presume to recommend a style. By the way, I saw that you commented out the concatenator that takes two elements and returns a list because "this might conflict". Doesn't Ada's use of overloading by return type let you get away with this without worrying too much? Presumably the context of the concatenation would pick the right function. (Pardon me if I'm rehashing an old argument; I didn't read the entire design discussion the first time around.)