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,e1bb9627c57b7d5b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-03 05:05:35 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "amado.alves" Newsgroups: comp.lang.ada Subject: RE: U : Unbounded_String := "bla bla bla"; (was: Is the Writing...) Date: Fri, 3 Oct 2003 13:00:42 +0100 Organization: Cuivre, Argent, Or Message-ID: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1065182629 24478 80.67.180.195 (3 Oct 2003 12:03:49 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 3 Oct 2003 12:03:49 +0000 (UTC) To: Return-Path: X-MimeOLE: Produced By Microsoft Exchange V6.0.6470.0 Content-Class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: U : Unbounded_String := "bla bla bla"; (was: Is the Writing...) thread-index: AcOJoAQqIzxMjZjsT7SN0KuML6uHXgAAly04 X-OriginalArrivalTime: 03 Oct 2003 12:00:42.0734 (UTC) FILETIME=[F87210E0:01C389A5] 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:149 Date: 2003-10-03T13:00:42+01:00 "...we already have implicit conversion in Ada for numeric literals." = (Jeff) I know, and that was the 'precedent' for my proposal. And I'm familiar = with the 'nightmare' of generalised implicit conversion (in C). But this = could be tamed in Ada by defining the effect scope of pragma = Implicit_Conversion to be the immediately enclosing block. Or a family of such pragmas for fine control of the effect: Implicit_Conversion_Down_From_Here Implicit_Conversion_Up_To_The_Next_Enclosing_Block Implicit_Conversion_All_Over However I am not totally confortable with *pragmas* for this class of = effect. Is their precedence?