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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e3785b223d2fe9b7 X-Google-Attributes: gid103376,public From: Gautier de Montmollin Subject: Re: Help withing Operators Date: 1999/11/18 Message-ID: <38342929.7C8DCC6B@maths.unine.ch>#1/1 X-Deja-AN: 550172260 Content-Transfer-Encoding: 7bit References: <810os4$lko$1@trog.dera.gov.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Universite de =?iso-8859-1?Q?Neuch=E2tel?= MIME-Version: 1.0 Reply-To: Gautier.deMontmollin@maths.unine.ch Newsgroups: comp.lang.ada Date: 1999-11-18T00:00:00+00:00 List-Id: > I want to find out how you overide a large number of operators. I know you > can overwrite them one at a time, but if all the operators are contained > within a package, can you, in some way with that package's operators? Imagine you want to switch between classical integers and multi-precision integers defined in a package with operators. The with+use clause for this package will make all the operators defined there available. Then, you define your type subtype myint is integer or subtype myint is multi_int to use the type (and associated operators) you want. That's it... -- Gautier _____\\________________\_______\ http://members.xoom.com/gdemont/