comp.lang.ada
 help / color / mirror / Atom feed
From: tynor@pyr.gatech.EDU (Steve Tynor)
Subject: Re: Limited Use Clause
Date: 6 Dec 88 15:36:23 GMT	[thread overview]
Message-ID: <6910@pyr.gatech.EDU> (raw)
In-Reply-To: 8812060022.AA26972@ucsd.edu

In article <8812060022.AA26972@ucsd.edu> brian@telesoft.UUCP (Brian D. Nettleton @spot) writes:
>addition of a "limited" use clause.  This clause would allow
>direct visibility of only the implicit infix operators of a visible part
>of a particular package.  I do beleive this request does probably
...
>code (i.e. renaming "=" and "+" over and over again even though they have 
>the "standard" Ada definition).

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 agree that having to either rename or explicitly use XYZ."=" (A, 1) is a
pain and tends to confuse the code more than clarify it.  

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Progress means replacing something wrong with something more subtly wrong.
                     
    Steve Tynor
    Georgia Tech Research Institute
    tynor@gitpyr.gatech.edu

  reply	other threads:[~1988-12-06 15:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-12-05 23:39 Limited Use Clause Brian D. Nettleton @spot
1988-12-06 15:36 ` Steve Tynor [this message]
1988-12-07 17:54   ` Stephe Leake
  -- strict thread matches above, loose matches on Subject: below --
1988-12-06 16:26 rracine
1988-12-06 19:12 ` Steve Tynor
1988-12-07  1:43 ` Michael Peirce
1988-12-07 18:12   ` Stephe Leake
1988-12-09 13:58   ` Burch Seymour
1988-12-07 17:59 ` Stephe Leake
1988-12-10 23:13 Erland Sommarskog
1988-12-12 15:47 ` Steve Tynor
1988-12-17 21:56 Erland Sommarskog
1988-12-18 14:48 ` Dik T. Winter
1988-12-19 14:17 ` Steve Tynor
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox