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: a07f3367d7,6609c40f81b32989 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.mv.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Why is Ada considered "too specialized" for scientific use Date: Mon, 05 Apr 2010 20:38:20 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1270514287 3210 192.74.137.71 (6 Apr 2010 00:38:07 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 6 Apr 2010 00:38:07 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:NtFt8z+hLee73TzCC/l8jVMIr1o= Xref: g2news1.google.com comp.lang.ada:9886 Date: 2010-04-05T20:38:20-04:00 List-Id: "Nasser M. Abbasi" writes: > Then to get the element at index 5, one needs to write something like > Element(V,5). > > Is there a way to redefine this so one need to only write V(5) ? Not yet. There is a proposal for this for Ada 2012. And some other useful syntactic sugar. - Bob