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,842accb6a7d76669 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-02 13:00:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.1 Date: 2 Nov 2001 15:00:42 -0600 Organization: LJK Software Message-ID: References: <3BE301D1.4010106@telepath.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1004734845 4788 192.135.80.34 (2 Nov 2001 21:00:45 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 2 Nov 2001 21:00:45 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:15697 Date: 2001-11-02T15:00:42-06:00 List-Id: In article <3BE301D1.4010106@telepath.com>, Ted Dennison writes: > I have a new version of the strawman up at my website at > http://www.telepath.com/dennison/Ted/Containers-Lists-Unbounded.ads.html > function Size (Subject : List) return Natural; Another possibility would be to allow declaration with a maximum number of entries, in which case rather than returning Natural the above would return the appropriate subtype.