From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA20904; Wed, 22 Sep 2004 15:15:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA32201 for ; Wed, 22 Sep 2004 15:15:32 +0200 (MET DST) Received: from qrnik.knm.org.pl (paf87.warszawa.sdi.tpnet.pl [217.96.225.87]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i8MDFUh9006576 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 22 Sep 2004 15:15:31 +0200 Received: from qrczak by qrnik.knm.org.pl with local (Exim 3.36 #1) id 1CA6xn-0004FC-00; Wed, 22 Sep 2004 15:15:15 +0200 To: cvalente@co.sapo.pt Cc: skaller@users.sourceforge.net, caml-list Subject: Re: [Caml-list] Re: OCAML Downcasting? X-Face: T0C?'>x8&TymF@` Ej6~H&|Uc2j{~CS,tTn|&?jC^xp+,k-6\@io3>5H5.L4GBdPptQ:pN`QJL$~2! References: <1095819964.2580.1016.camel@pelican.wigram> <87d60eizlh.fsf@qrnik.zagroda> <200409221350.36436.cvalente@co.sapo.pt> From: "Marcin 'Qrczak' Kowalczyk" Mail-Followup-To: cvalente@co.sapo.pt, skaller@users.sourceforge.net, caml-list Date: Wed, 22 Sep 2004 15:15:15 +0200 In-Reply-To: <200409221350.36436.cvalente@co.sapo.pt> =?iso-8859-2?q?=28Cl=E1udio?= Valente's message of "Wed, 22 Sep 2004 13:50:36 +0100") Message-ID: <87fz5aphr0.fsf@qrnik.zagroda> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Miltered: at nez-perce with ID 41517AF2.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 downcasting:01 marcin:01 'qrczak':01 kowalczyk:01 qrczak:01 sapo:99 statically:01 checkers:01 heuristics:01 divisor:01 marcin:01 kowalczyk:01 qrczak:01 ocaml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Cl=E1udio Valente writes: >> And guess what? No language I know checks division by 0 statically >> (except proof checkers, but they are not suitable for writing big >> programs - too much work) > These are not exhaustive tests, but they are good enough to catch > many common errors. I meant exhaustive tests, not heuristics for easy cases where the divisor is constant. --=20 __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners