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: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news.mb-net.net!open-news-network.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Making sense of predicates Date: Tue, 22 Oct 2013 10:11:09 +0200 Organization: cbb software GmbH Message-ID: <1b2jzoyvzehgg$.1lrm81bu8qt45$.dlg@40tude.net> References: <1830ad81-00dc-4639-922a-771a01cd06ec@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: IenaDxMXK2hi7fvYcb+MlQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 1452 Xref: number.nntp.dca.giganews.com comp.lang.ada:183695 Date: 2013-10-22T10:11:09+02:00 List-Id: On Tue, 22 Oct 2013 00:14:27 -0700 (PDT), Shark8 wrote: >> Well, predicates were not supposed to work in an intelligent way, so why >> not to add a kind that will? > > I think they are supposed to work in an intelligent way, though perhaps > they're not as nice as compile-time/static checks. It is not about checks. Mathematically there might be no difference, but for the language there is a great difference between inferred and manifested properties of types. The power of the former is very limited. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de