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!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: A function that cannot be called? Date: Fri, 19 Oct 2018 17:39:53 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <7ab688d0-b6b8-459c-b5b7-39b6c35daad2@googlegroups.com> NNTP-Posting-Host: IzvqdhUtDGKIMCldyDtZ+w.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.3 Xref: reader02.eternal-september.org comp.lang.ada:54655 Date: 2018-10-19T17:39:53+02:00 List-Id: On 2018-10-19 16:00, G.B. wrote: > Not having any objects at all needs to be a feature of the > Ada language's type system, at least for this kind of competition. Why? The purpose of the (<>) hack is not to prevent object existence, it is for ensuring proper initialization of. What Ada language needs is proper constructors. Non-existent objects do not exist merely because they don't ... > (Hence hiding the full type in a private nest with no body.) > > The members of the functionist faction will turn their eyes > towards the cieling in dispair: > it is these weird functions involving uninhabited types that have > turned out to be essential for the interplay between logicians > and computer scientists discovering practical solutions. For > example, what about a type system that guarantees termination? Termination of what? It may come as a revelation for FP folks, but a simple power plug guaranties ultimate termination of whatever program ... (:-)) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de