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: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!news.ecp.fr!gegeweb.org!usenet-fr.net!nospam.fr.eu.org!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 26 Mar 2009 15:07:39 +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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <49cb8c2b$0$31330$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 26 Mar 2009 15:07:39 CET NNTP-Posting-Host: 8af73d84.newsspool4.arcor-online.net X-Trace: DXC=DM?\Qmo?92cIkjb;<8iR=a4IUKMo;9OJDO8_SKfNSZ1n^B98ij2AX^Jhl>i^b X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:5303 Date: 2009-03-26T15:07:39+01:00 List-Id: 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. package One is type Foo is (X); type Bar is (Y); type This_Type_Has_One_Value is record Comp_1 : Foo := X; Comp_2 : Bar := Y; end record; end One;