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,6609c40f81b32989 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: Why is Ada considered "too specialized" for scientific use Date: Mon, 5 Apr 2010 12:24:09 -0700 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: FY6NKDidHH3MqxQW2YvwTg.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-RFC2646: Format=Flowed; Original X-EsetScannerBuild: 6879 X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Microsoft Outlook Express 6.00.2900.3598 X-EsetId: 321EA926BF2030386752 X-Priority: 3 X-MSMail-Priority: Normal Xref: g2news2.google.com comp.lang.ada:10853 Date: 2010-04-05T12:24:09-07:00 List-Id: "Charmed Snark" wrote in message news:Xns9D5189EB419BSnarkCharmedImSure@188.40.43.213... > > I am making big use of these containers in the rewrite of > my basic interpreter project. > I looked at the Ada 2005 LRM, Containers.Vectors for example, and And I have small question http://www.adaic.org/standards/05rm/html/RM-A-18-2.html Given this below function Element (Container : Vector; Index : Index_Type) return Element_Type; 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) ? because If I have large equations, it is more clear to write V(i) than Element(V,i) everywhere? Did you find this "longer" syntax an issue for you? I have not used Containers before. But the list of functions looks impressive. ps. is your interpreter project somewhere on the net to look at? thanks, --Nasser