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: a07f3367d7,31af760e939556ef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Interpretation of extensions different from Unix/Linux? Date: Wed, 19 Aug 2009 17:01:16 -0500 Organization: Jacob Sparre Andersen Message-ID: References: <8a5f3b98-1c5a-4d47-aca7-e106d1223fa9@a26g2000yqn.googlegroups.com> <87skg7952j.fsf@jspa-nykredit.sparre-andersen.dk> <1f999bfa99erz$.9b8p6yymr8x7$.dlg@40tude.net> <6f80c882-fa03-4ca9-a53e-fae34cea160d@b15g2000yqd.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1250719346 30720 69.95.181.76 (19 Aug 2009 22:02:26 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 19 Aug 2009 22:02:26 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Xref: g2news2.google.com comp.lang.ada:7884 Date: 2009-08-19T17:01:16-05:00 List-Id: wrote in message news:Pine.LNX.4.64.0908190604510.3835@medsec1.medien.uni-weimar.de... >> I think Dmitry's point is that he'd rather always see explicit >> conversions. >> The problem is that they don't work well -- exhibit A is unbounded >> strings. >> That's especially true for the use-adverse like me. [...] > > How about "use type"? > > Then call an appropriately defined operator, such as the unary "+" or > the binary "&": We tried to add a unary "+" for this purpose in Ada 2005, but there are enough people who think the idea is "ugly" to prevent a consensus. Similarly, there was a proposal way back in the Ada 83 days to add a an operator "@" specifically for this conversion purpose, but there hasn't been enough support for that, either. (In part, because some people claim that is the purpose of "+"! Great way to get to an impass!) I'd be happy with either, but I don't think there is much chance of either happening in the near future. Randy.