From: tynor@pyr.gatech.EDU (Steve Tynor)
Subject: Re: Limited Use Clause
Date: 12 Dec 88 15:47:41 GMT [thread overview]
Message-ID: <6943@pyr.gatech.EDU> (raw)
In-Reply-To: 4154@enea.se
In article <4154@enea.se> sommar@enea.se (Erland Sommarskog) writes:
>Steve Tynor (tynor@pyr.UUCP) 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 ...
>The problem is that the specifications above are not necessarily
>unique. So you have to write:
> use XYZ."="(a, b : XYZ_type), XYZ.Push(x : some_type) ...
>which quickly gets very verbose.
This is going one step further than I suggested. I'm not convinced that it's
truly necessary. I still think importing identifiers (if they're overloaded
you get all of them) would be a useful, relatively easily implemented
addition to the language.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Progress means replacing something wrong with something more subtly wrong.
Steve Tynor
Georgia Tech Research Institute
tynor@gitpyr.gatech.edu
next prev parent reply other threads:[~1988-12-12 15:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1988-12-10 23:13 Limited Use Clause Erland Sommarskog
1988-12-12 15:47 ` Steve Tynor [this message]
-- strict thread matches above, loose matches on Subject: below --
1988-12-17 21:56 Erland Sommarskog
1988-12-18 14:48 ` Dik T. Winter
1988-12-19 14:17 ` Steve Tynor
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-05 23:39 Brian D. Nettleton @spot
1988-12-06 15:36 ` Steve Tynor
1988-12-07 17:54 ` Stephe Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox