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: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: need help learning Ada for a modula-2 programmer Date: Wed, 29 Jan 2014 16:52:18 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 29 Jan 2014 23:52:19 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6bab1dce10a849dba13303bd95a0f77d"; logging-data="22063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rMPitiT8cuuexkpdt83PDk4tvblMKJ/M=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Cancel-Lock: sha1:nohCZrETbgqr6wUIhlQv68D540E= X-Original-Bytes: 1864 Xref: number.nntp.dca.giganews.com comp.lang.ada:184593 Date: 2014-01-29T16:52:18-07:00 List-Id: On 01/29/2014 05:15 AM, Mike H wrote: > > generic > type Item is private; > type Index is (<>); > type Array_type is array (index range <>) of Item; > function Shift_right_circular > (A : Array_type; > Places : Natural) return Array_type; I'd call that Rotate_Right, personally. -- Jeff Carter "Sir Robin the not-quite-so-brave-as-Sir-Lancelot, who had nearly fought the Dragon of Angnor, who nearly stood up to the vicious Chicken of Bristol, and who had personally wet himself at the Battle of Badon Hill." Monty Python & the Holy Grail 68