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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75ffc1f081ec10e3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Constant record components Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <12ad8guf3sg1o0d@corp.supernews.com> Date: Sat, 1 Jul 2006 19:06:21 +0200 Message-ID: <1loq7utmaxvll$.yqsxj5edzqgv.dlg@40tude.net> NNTP-Posting-Date: 01 Jul 2006 19:06:21 MEST NNTP-Posting-Host: 0c428df3.newsread2.arcor-online.net X-Trace: DXC=mG9Lk]W32bJRG:gi]CKmZGQ5U85hF6f;DjW\KbG]kaMHGSi?jHD8GO@baAa;;QWg5K[6LHn;2LCVN[ On Sat, 1 Jul 2006 09:25:06 -0700, ME wrote: > What was the rationale for prohibiting constant record components? Initialization and composition issues. Then often it is argued that discriminants are, though limited. However the functionality you probably meant is actually not constant [immutable] components, but rather immutable public views of some components of mutable [as a whole] records. If there were record interfaces, that would be possible to have. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de