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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c459ff0adb576bc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-15 20:17:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!demon!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Refactoring and Ada Date: Fri, 15 Feb 2002 14:43:22 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3C5AB0B7.9D75D49A@grammatech.com> <3c639940@pull.gecm.com> <4519e058.0202080714.1bf916bb@posting.google.com> <3C65BFF4.F15A07D0@earthlink.net> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1013802205 1210 136.170.200.133 (15 Feb 2002 19:43:25 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 15 Feb 2002 19:43:25 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:20070 Date: 2002-02-15T19:43:25+00:00 List-Id: Sure, solutions do exist. Its just that people might often have used a rep clause where it wasn't strictly necessary because they were thinking of some future situation where having the rep clause may have been important. It may not be a *great* reason - but it is possible that there *was* a reason - other than total ignorance. :-) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Simon Wright" wrote in message news:x7veljqldd6.fsf@smaug.pushface.org... > > I would derive a new type for external use and put the representation > clauses on that: > > package Rep is > > type Int is (A, B); > > for Int use (A => 0, B => 1); -- confirming, of course > > type Ext is new Int; > > for Ext use (A => 16#aa#, B => 16#bb#); > > end Rep; >