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-Thread: 103376,75ffc1f081ec10e3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news2.volia.net!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!sn-xt-ams-06!sn-xt-ams-04!sn-ams!sn-feed-ams-02!sn-xt-ams-08!sn-post-ams-02!sn-post-sjc-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail From: "ME" Newsgroups: comp.lang.ada Subject: Re: Constant record components Date: Sat, 1 Jul 2006 10:37:30 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <12adcn2kslq7d80@corp.supernews.com> References: <12ad8guf3sg1o0d@corp.supernews.com> <1loq7utmaxvll$.yqsxj5edzqgv.dlg@40tude.net> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Complaints-To: abuse@supernews.com Xref: g2news2.google.com comp.lang.ada:5396 Date: 2006-07-01T10:37:30-07:00 List-Id: "Dmitry A. Kazakov" wrote in message news:1loq7utmaxvll$.yqsxj5edzqgv.dlg@40tude.net... > 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. What I meant was components that can not be changed after the record components are initialized. I can not use Record discriminanats because I have a two dimensional unconstrained array of these records. > > If there were record interfaces, that would be possible to have. > > -- > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de