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,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e1bb9627c57b7d5b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-16 06:57:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Alexandre E. Kopilovitch" Newsgroups: comp.lang.ada Subject: Re: U : Unbounded_String := "bla bla bla"; (was: Is the Writing...) Date: Thu, 16 Oct 2003 17:54:41 +0400 (MSD) Organization: Cuivre, Argent, Or Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1066312587 60908 80.67.180.195 (16 Oct 2003 13:56:27 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Thu, 16 Oct 2003 13:56:27 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: ; from "(see below)" at Thu, 16 Oct 2003 02:30:52 GMT X-Mailer: Mail/@ [v2.44 MSDOS] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:982 Date: 2003-10-16T17:54:41+04:00 "(see below)" wrote: > > this part of the concern is real, and idea about 'Class seems interesting and > > perhaps good enough. I think that the angle brackets are actually not needed > > here, we can simply write: > > > > for Flex'Class'Literal_Conversion use To_Flex; > > I was not clear enough. I intended the "<>" to mean that only the predefined > literal conversion was to be used. Perhaps that is not necessary? It is desirable option, I just didn't catch it myself. But I doubt that "<>" here is good: is there a place in Ada where "<>" carries the sense of "predefined"? Actually we may write for that case: for Flex'Class'Literal_Conversion use Flex'Literal_Conversion; It will certainly carry the indended sense, but it is quite long and somehow indirectly, thus looking as one more idiom. So, I'd prefer your suggestion if "<>" is already associated with "predefined", but if not (and if there is no other conventional symbol for "predefined") then I'd stick to the latter (long) notation. Alexander Kopilovitch aek@vib.usr.pu.ru Saint-Petersburg Russia