comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: how to copy complete column (or row) of matrix to another?
Date: Tue, 12 Sep 2017 05:57:05 -0700 (PDT)
Date: 2017-09-12T05:57:05-07:00	[thread overview]
Message-ID: <e7eb0977-c449-4d52-8010-72df7c261e0f@googlegroups.com> (raw)
In-Reply-To: <dc3c0773-0357-4338-9f98-ca73ddf24c51@googlegroups.com>

I agree that multi-dimensional array slices should be supported. One of the tenet's of Ada is to leave the implementation of things up to the compiler, because it knows how best to do it, e.g. parameter passing.

I asked about it here, https://groups.google.com/d/msg/comp.lang.ada/L9XiRrjm3B0/cXfKlQ9-AwAJ and the response was, it's not going to happen due to a slice being a name as Randy mentions, but it's not a request to speed up the assignment, it's just syntactic sugar to aid readability, another of Ada's tenets.

Even the AARM says so here, http://www.ada-auth.org/standards/12aarm/html/AA-4-1-2.html see 8.b.


  reply	other threads:[~2017-09-12 12:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-05  8:41 how to copy complete column (or row) of matrix to another? Nasser M. Abbasi
2017-09-05 22:45 ` Randy Brukardt
2017-09-05 23:10   ` Nasser M. Abbasi
2017-09-06  5:34     ` faryumg
2018-03-21 13:58       ` Marius Amado-Alves
2018-03-30 21:25         ` gerdien.de.kruyf
2017-09-06  7:17     ` Simon Wright
2017-09-06  7:31   ` Dmitry A. Kazakov
2017-09-09 22:33 ` darek
2017-09-09 22:48 ` darek
2017-09-12 12:57   ` Lucretia [this message]
2017-10-02 23:08     ` Randy Brukardt
2017-09-12 21:22 ` Johan Söderlind Åström
2017-09-17 12:01 ` Robert Eachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox