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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!post02.fr7!fx11.fr7.POSTED!not-for-mail From: Brian Drummond Subject: Re: Oberon and Wirthian languages Newsgroups: comp.lang.ada References: <1ljwj8f.1wqbhvuabsdw1N%csampson@inetworld.net> <%J32v.70539$kp1.45343@fx14.iad> <8761m535e4.fsf_-_@ludovic-brenta.org> User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <5s87v.58647$154.44229@fx11.fr7> NNTP-Posting-Host: 62.49.20.82 X-Complaints-To: abuse@demon.net X-Trace: 1398608769 62.49.20.82 (Sun, 27 Apr 2014 14:26:09 UTC) NNTP-Posting-Date: Sun, 27 Apr 2014 14:26:09 UTC Date: Sun, 27 Apr 2014 14:26:09 GMT X-Received-Body-CRC: 58981526 X-Received-Bytes: 2008 X-Original-Bytes: 2285 Xref: number.nntp.dca.giganews.com comp.lang.ada:186160 Date: 2014-04-27T14:26:09+00:00 List-Id: On Sat, 26 Apr 2014 08:23:16 +0100, Simon Wright wrote: > "Randy Brukardt" writes: > >> This is a case where the keyword will make all of the difference. If we >> were using a new keyword, perhaps something like: >> >> A := (A replacing C => D, E => F); >> >> would do the trick. > > I'd find > > A := (A with C => D, E => F); > > quite straightforward. Or use "others" which already has a role in aggregates: A := (C => D, E => F, others => A); or if that leaves type resolution difficulties for "others", A := (C => D, E => F, others => A.others); - Brian