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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-26 11:24:34 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor (Was: why ada is so unpopular ?) Date: Mon, 26 Jan 2004 13:23:39 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <101aqbfgi37isf1@corp.supernews.com> References: <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <100upo7ln5e3k59@corp.supernews.com> <400FC8E8.2040100@noplace.com> <4011127C.4030801@noplace.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:4832 Date: 2004-01-26T13:23:39-06:00 List-Id: "Dmitry A. Kazakov" wrote in message news:onk910pmf41et1uai45hc6mfqhasdkmi8c@4ax.com... ... > The technique above works fine with subroutines having defaults. But > it becomes awkward with types and values. Worse is that one cannot > hide implementations in private: > > package Win32 is > type File is limited private; > procedure Read (...); > procedure Write (...); > package Interface is new Abstract_OS_Interface (File); > -- Error, a premature use of File! > private > type File is limited record > ... -- Do want them see it > end record; > end Win32; There is an AI on this problem. Dunno if it will get solved, though - the proposed solutions have not picked up much support... Randy.