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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: A function that cannot be called? Date: Fri, 19 Oct 2018 13:15:48 +0200 Organization: A noiseless patient Spider Message-ID: References: <99f41210-6fe2-4b4d-90ad-21a0ab108f53@googlegroups.com> Reply-To: nonlegitur@notmyhomepage.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 19 Oct 2018 11:15:49 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="189888e645ecebbf26e597f043adf425"; logging-data="5653"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OtUaNATlyaX41uCOdtH8j/qveQ5VhwfI=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:mM1JeyJE7IrqmZrHlyhBP84TIOM= In-Reply-To: <99f41210-6fe2-4b4d-90ad-21a0ab108f53@googlegroups.com> Content-Language: de-DE Xref: reader02.eternal-september.org comp.lang.ada:54650 Date: 2018-10-19T13:15:48+02:00 List-Id: On 19.10.18 10:48, AdaMagica wrote: >> package What is >> >> type Void (<>) is private; >> > Obj1, Obj2: Void; > > procedure Process (X: in out Void; Params: Some_Type); >> >> private > -- Full type and object declarations here >> end What; > > Also this is possible. There are just two objects with which you can work. For purposes of exploration, I want Void to have no values, but I want it to have functions. One function of lesser importance would be the empty function.