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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable 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-05 04:41:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: Eric Merritt Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.1 Date: Mon, 5 Nov 2001 04:40:19 -0800 (PST) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1004964069 55305 137.194.161.2 (5 Nov 2001 12:41:09 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 5 Nov 2001 12:41:09 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: In-Reply-To: <9s230h$107b5a$5@ID-25716.news.dfncis.de> Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:15799 Date: 2001-11-05T04:40:19-08:00 > > I would suggest: > > function Singleton (Item: in Element_Type) return > List_Type; > > since this would then make it clear that we are > constructing a singleton > list. Not to be too stupid, but this would imply that throughout a running program there may only be one instance of this list type. ie A list is instantiated once and not again, any time the constructor is called this already instantiated list is returned. Is this the case? and if so how useful could this be? __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com