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.8 required=5.0 tests=BAYES_00,INVALID_DATE, T_FILL_THIS_FORM_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pyrdc!grebyn!karl From: karl@grebyn.com (Karl A. Nyberg) Newsgroups: comp.lang.ada Subject: First as Successor to Last (was On quitting an Iterator Prematurely) Message-ID: <19985@grebyn.com> Date: 2 May 90 20:24:34 GMT References: <9004262133.AA06607@hac2arpa.hac.com> <7050@fy.sei.cmu.edu> <1823@sparko.gwu.edu> Sender: karl@grebyn.com Organization: Grebyn Corp. Distribution: List-Id: In article <1823@sparko.gwu.edu> mfeldman@seas.gwu.edu () writes: >This is a nice idea. Does anyone know if there was an Ada9x suggestion to >provide this? Asode from all the requests dealing with unsigned integers, RR-0389 starts off as: DATE: 25 September 1989 NAME: Stephen J. Wersan, Ph.D. ADDRESS: Code 3561 NAVWPNCEN China Lake, CA 93555 WERSAN%356VAX.DECNET2NWC.NAVY.MIL TELEPHONE: 619/939-3120, Autovon 437-3120 ANSI/MIL-STD-1815A REFERENCE: 3.5 PROBLEM: Inconvenient handling of scalar types that are cyclic in nature. IMPORTANCE: 5 Cyclic types arise in many areas. Two important examples are types used to deal with time and compass direction (azimuth). Some of the messy trivia arising in the embedded world concerns handling such types represented by roll-over counters, and the like. This is probably closely related to unsigned integer types, and anything done in this area should mesh with what Ada 9X does there. CURRENT WORKAROUNDS: The use of the pred and succ attributes must be avoided. Special functions must be written to replace them.