From: tynor@pyr.gatech.EDU (Steve Tynor)
Subject: Re: Limited Use Clause
Date: 19 Dec 88 14:17:14 GMT [thread overview]
Message-ID: <6962@pyr.gatech.EDU> (raw)
In-Reply-To: 4168@enea.se
In article <4168@enea.se> sommar@enea.se (Erland Sommarskog) writes:
>>>> use XYZ."=", XYZ."/=", XYZ.PUSH, XYZ.POP;
>>> use XYZ."="(a, b : XYZ_type), XYZ.Push(x : some_type) ...
>>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.
>Of course a matter of taste, but I think mentioning a name and getting
>all subprograms with that name is a very non-Ada way of approaching
>things. In Ada a subprogram *is* identified by its name and its parameter
>list.
I took as my precedent the INLINE pragma. I can say:
pragma INLINE (PUSH);
but I can't say:
pragma INLINE (PUSH (x : some_type));
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
No problem is so formidable that you can't just walk away from it.
Steve Tynor
Georgia Tech Research Institute
tynor@gitpyr.gatech.edu
next prev parent reply other threads:[~1988-12-19 14:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1988-12-17 21:56 Limited Use Clause Erland Sommarskog
1988-12-18 14:48 ` Dik T. Winter
1988-12-19 14:17 ` Steve Tynor [this message]
-- strict thread matches above, loose matches on Subject: below --
1988-12-10 23:13 Erland Sommarskog
1988-12-12 15:47 ` 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