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, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!cme!leake From: leake@cme.nbs.gov (Stephe Leake) Newsgroups: comp.lang.ada Subject: Re: Limited Use Clause Message-ID: <782@marvin.cme.nbs.gov> Date: 7 Dec 88 17:54:18 GMT References: <8812060022.AA26972@ucsd.edu> <6910@pyr.gatech.EDU> Organization: National Institute of Standards & Technology, Gaithersburg, MD In-reply-to: tynor@pyr.gatech.EDU's message of 6 Dec 88 15:36:23 GMT List-Id: In article <6910@pyr.gatech.EDU> tynor@pyr.gatech.EDU (Steve Tynor) writes: But why limit this to only infix operators? How about borrowing an idea from Modula2? with XYZ; use XYZ."=", XYZ."/=", XYZ.PUSH, XYZ.POP; package ... I vote for this one. Many times I "use" a package just to get "=", although the package defines much more. Allowing the "use" to apply to specific items (types as well as subprograms; indeed, any legal name?) would definitely enhance readability. Stephe Leake (301) 975-3431 leake@cme.nbs.gov National Institute of Standards and Technology (formerly National Bureau of Standards) Rm. B-124, Bldg. 220 Gaithersburg, MD 20899