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: Sun, 21 Oct 2018 11:51:06 +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: 8bit 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:54678 Date: 2018-10-21T11:51:06+02:00 List-Id: On 2018-10-21 11:07, G.B. wrote: > The idea is that classical logic caused, and continues to cause, > (features of) programming languages like Ada, in some sense. A bizarre idea. Logic does not cause anything, in the context of programming languages it is a tool. > The idea is not to suggest that programmers need to be concerned > with formal models in order to write programs. > > So, I guess for writing an embedded program like > >   loop >     Ouput (Compute (Input)); >   end loop; > > one doesn't need to be aware that classical logic, without some > type system, incurs the possibility of the HALTing trouble. > But, OTOH, pure functionists with "program terminating types" > will need monads and things as a way to write a non-terminating > program. This confusion of program properties with program purpose probably irritates people like Randy most. Whatever property of a program is, that becomes interesting only and exclusively with connection to the purpose of the program. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de