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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada202X: Easy to use "UML private"-like components Date: Sun, 23 Jun 2013 08:28:27 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <69246de0-4b33-4d47-b5be-a45e8c911fb0@googlegroups.com> <9qrbs8l828t3pvgves504a8fm7o1c7tcpj@4ax.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1371990507 31568 192.74.137.71 (23 Jun 2013 12:28:27 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 23 Jun 2013 12:28:27 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:pGurTyrAQo91HZ5pdIwL8yavE+I= Xref: news.eternal-september.org comp.lang.ada:15903 Date: 2013-06-23T08:28:27-04:00 List-Id: Niklas Holsti writes: > Maybe my post was unclear: I tried to contradict Bob Duff's recollection > that an opaque type in Modula-2 is more like an Ada private type than > like an "stt access type". I think that a Modula-2 opaque type is very > similar to an "stt access type". Do you agree with me? Yes, given your quotes from Wirth, I agree that Modula-2 opaque types are much like stt access types. I had remembered the restriction differently: the type was required to fit in the size of a pointer, which included integers and enums and small records. Probably the Modula-2 compiler I used had a nonstandard extension -- or else I am misremembering. - Bob