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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: a new language, designed for safety ! Date: Mon, 16 Jun 2014 17:24:37 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <1402308235.2520.153.camel@pascal.home.net> <85ioo9yukk.fsf@stephe-leake.org> <9qednXOIGNDuLQXORVn_vwA@giganews.com> <1872904482424209024.314619laguest-archeia.com@nntp.aioe.org> <810507a4-427e-42bb-a468-e5939a4470db@googlegroups.com> <9qbfr6yf0gnb.182y1qs9eigz4$.dlg@40tude.net> Injection-Date: Mon, 16 Jun 2014 17:24:37 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="26620"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UxBrqTyNUoSWfqzXl6Su9BdjWsoZQrYw=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:aDLRd67y0f918sYXeSCzMaVgcGg= X-Original-Bytes: 2849 Xref: number.nntp.dca.giganews.com comp.lang.ada:186979 Date: 2014-06-16T17:24:37+00:00 List-Id: On 2014-06-16, Randy Brukardt wrote: > "Robert A Duff" wrote in message > news:wccd2ec34um.fsf@shell01.TheWorld.com... > ... >> But I think what Simon wants is convenient syntax for dealing with >> associative arrays, and that's reasonable. But in a better language, >> that wouldn't require associative arrays to be built in. > > Which Ada 2012 has. Specifically, referencing container elements works just > like an array, and iteration works just like an array. Simon said he didn't > want keys created implicitly, so the explicit calls to Insert aren't a > problem. So what's missing? (Slices don't make sense for Maps, since the > items are not ordered.) > I guess I'm adding Ada 2012 to the list of things to take a more detailed look at. :-) Thanks Randy, Simon. PS: What is the availability (and reliability) of the Ada 2012 features in the FSF gcc branch these days ? For example, when I look here: http://people.debian.org/~lbrenta/debian-ada-policy.html it's not at all clear how much of Ada 2012 is present in the FSF GCC branch and the same is true for other searches I've just done. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world