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,1a52c822fc0dbb23 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newscon02.news.prodigy.net!prodigy.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Rational for not making cursor tagged in Containers Date: Thu, 19 Apr 2007 14:25:56 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1176998738.656903.141250@q75g2000hsh.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1177007162 14630 192.74.137.71 (19 Apr 2007 18:26:02 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 19 Apr 2007 18:26:02 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:n71COTlLQhw7o3oftu+1luzt0h0= Xref: g2news1.google.com comp.lang.ada:15124 Date: 2007-04-19T14:25:56-04:00 List-Id: Anh Vo writes: > I enjoy using the prefixed (object) notation when and where ever I > can. However, when it comes to Containers, I can not use this notation > on cursor because it is not tagged. > > It seems that it is not balanced between Container types and its > cursors. I just want to know what rationale behind it for not making > cursor a tagged type. I suppose it's because there's no need for type extension or dispatching calls. So why pay the overhead? A different question might be: Why is the prefix notation not allowed for untagged types? I don't know the answer to that, but it's probably documented in the relevant AI. I'm not a big fan of prefix notation, by the way. - Bob