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!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Oberon and Wirthian languages Date: Sat, 26 Apr 2014 09:31:30 +0300 Organization: Tidorum Ltd Message-ID: References: <40rll9tj7u0sh8ir101850insir89v43jj@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net m7Ja4/6Q+pjzr3llwlRzDgz/o8O1ev2cLnhDjw9Q8Rk6JhTRgR Cancel-Lock: sha1:fybaR/1PROyiw1hNFcLsrfqULmY= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: <40rll9tj7u0sh8ir101850insir89v43jj@4ax.com> X-Original-Bytes: 2273 Xref: number.nntp.dca.giganews.com comp.lang.ada:186096 Date: 2014-04-26T09:31:30+03:00 List-Id: On 14-04-26 02:16 , Dennis Lee Bieber wrote: > On Fri, 25 Apr 2014 16:55:02 -0500, "Randy Brukardt" > declaimed the following: > >> >> 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've not really been tracking this, but is a new keyword really needed? > At least, I read the above to mean keep the unnamed components of 'A' > during the operation. > > A := (C => D, E => F, others => A.others); Of the forms with "others", I like that one best. But I would still prefer a form in which the initial value (A) comes first, and the component-wise changes after, as in the "replacing" form. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .