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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx09.iad.POSTED!not-for-mail From: Shark8 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:31.0) Gecko/20100101 Thunderbird/31.0a1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Your wish list for Ada 202X References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> In-Reply-To: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <6BE%u.10537$Fj3.7549@fx09.iad> X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Fri, 04 Apr 2014 20:27:46 UTC Organization: TeraNews.com Date: Fri, 04 Apr 2014 14:27:45 -0600 X-Received-Bytes: 1955 X-Received-Body-CRC: 380748245 X-Original-Bytes: 1974 Xref: number.nntp.dca.giganews.com comp.lang.ada:185521 Date: 2014-04-04T14:27:45-06:00 List-Id: On 25-Mar-14 15:41, Stoik wrote: > I think that even a casual user of Ada should be able to influence somehow the new version > of Ada. I wonder what is high on your list of wishes for Ada 202X? A 'Type attribute would be nice -- there've been a few times where I wanted to have one (IIRC, the last time was in dealing w/ generics). A 'Cursor attribute for arrays might be a good addition, so that you could use the indices in calculations inside the new generalized for-loop. An 'Index attribute might be good for initialization of arrays based on a formula: A : Array(1..3, 1..3) of Positive:= ( others => (A'Index(2)-1)*A'Index(1) + A'Index(2) ); would be [conceptually] equivalent to: A : Array(1..3, 1..3) of Positive:= ( (1, 2, 3), (4, 5, 5), (7, 8, 9) ); Less restrictions (or some form of workaround) on incomplete types as formal parameters of generics; it was disappointing to find that they did not allow me to quickly, cleanly write out a small [test/experimental] implementation of monoids as described in the video "Brian Beckman: Don't fear the Monad" -- https://www.youtube.com/watch?v=ZhuHCtR3xq8