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
Lines: 20
In-reply-to: tynor@pyr.gatech.EDU's message of 6 Dec 88 15:36:23 GMT


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