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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-03 05:50:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!news.algonet.se!algonet!newsfeed1!bredband!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Tue, 3 Jun 2003 12:50:18 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <6a90b886.0305262344.1d558079@posting.google.com> <3ED41344.7090105@spam.com> <3ED46D81.FF62C34F@0.0> <3ED46E07.4340CABC@0.0> <3ED4F3FD.A0EF7079@alfred-hilscher.de> <6vWcnTWjF83bD0qjXTWcpA@gbronline.com> <3EDC8AA9.7000405@noplace.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1054644618 29461 129.241.83.78 (3 Jun 2003 12:50:18 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 3 Jun 2003 12:50:18 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:38466 Date: 2003-06-03T12:50:18+00:00 List-Id: Lutz Donnerhacke wrote: > Please to instantiate it for every countable type A, you use and any > universal_integer B. Thank you. Ok I can agree. But at least I would rather have A :=+ B or A +:= B whichever is more clear. Because in my view A += B will mess up Ada as we have: if A = B then A := B and do not use if (A == B) A = B as C and C++ do. But that means one would need to limit this operator to procedures? procedure ":=+" (Left: in out T; Right: in T); -- Preben Randhol http://www.pvv.org/~randhol/