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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,751584f55705ddb7 X-Google-Attributes: gid103376,public From: ucaa2385@alpha1.csv.ica.uni-stuttgart.de (Peter Hermann) Subject: Re: Side-effect arithmetic again [was: Ada ... in embedded systems] Date: 1996/03/21 Message-ID: <4irbm1$38i0@info4.rus.uni-stuttgart.de>#1/1 X-Deja-AN: 143474594 references: <4ik5bm$ogg@dayuc.dayton.saic.com> organization: Comp.Center (RUS), U of Stuttgart, FRG newsgroups: comp.lang.ada Date: 1996-03-21T00:00:00+00:00 List-Id: Robert A Duff (bobduff@world.std.com) wrote: : >is whether the generic formal should be "is range <>" or "is (<>)". : range <>, IMHO. I always prefer the discrete type over the specialized numerical thing, with 'succ and 'pred . Just a feeling. Ada0x will have general procedure calls increment(item); decrement(item); for all discrete types, of course ;-) :-) -- Peter Hermann Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen Team Ada: "C'mon people let the world begin" (Paul McCartney)