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-Thread: 103376,b88383a5d9c51aa0 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 26 Mar 2009 16:22:51 +0100 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada-Singleton-Why does it work like this? References: <5a7a870c-40e2-4803-8753-0f9cfd2b800f@k2g2000yql.googlegroups.com> <6d2b2c67-22fb-4283-87ab-58357e47d5ca@v39g2000yqm.googlegroups.com> <49cb8c2b$0$31330$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <49cb9dcb$0$31337$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 26 Mar 2009 16:22:51 CET NNTP-Posting-Host: 7c8c22b6.newsspool4.arcor-online.net X-Trace: DXC=Ud8A4fF1>ge9kIfcjg:0fd4IUKH_h;9OJDO8_SKfNSZ1n^B98ijkH92D8:2h7c X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:4338 Date: 2009-03-26T16:22:51+01:00 List-Id: Dmitry A. Kazakov schrieb: > On Thu, 26 Mar 2009 15:07:39 +0100, Georg Bauhaus wrote: > >> Maciej Sobczak schrieb: >> >>> Or not - maybe it is a way to express some property of the *type* that >>> cannot be expressed due to the limitations in the language? >> If "type" means the tuple ({values}, operations), then these >> should be a few types where |{values}| = 1. > > No, singleton does not mean "one value." Right, however, how can a type bedefined to have "one object" if the type has a set of values of cardinality > 1? That is, can "singleton" be made a property of a type other than programmatically?